Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 179.8 kB / 14.15 MB, free: 1.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 98.42 kB / 287 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.279e-05, allocations: 4 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1467, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.13/2.277, allocations: 0.7588 GB / 1.261 GB, free: 70.11 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/2.278, allocations: 84.67 kB / 1.261 GB, free: 70.06 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.28/6.558, allocations: 1.146 GB / 2.407 GB, free: 66.39 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.893e-06/6.558, allocations: 2.953 kB / 2.407 GB, free: 66.39 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001079/6.558, allocations: 37.62 kB / 2.407 GB, free: 66.39 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01587/6.574, allocations: 2.456 MB / 2.409 GB, free: 65.65 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/6.574, allocations: 13.09 kB / 2.409 GB, free: 65.64 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008319/6.575, allocations: 198.8 kB / 2.41 GB, free: 65.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/6.579, allocations: 444.4 kB / 2.41 GB, free: 65.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/6.582, allocations: 1.205 MB / 2.411 GB, free: 65.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.109e-05/6.582, allocations: 85.52 kB / 2.411 GB, free: 65.25 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/6.582, allocations: 114.5 kB / 2.411 GB, free: 65.25 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004387/6.587, allocations: 2.896 MB / 2.414 GB, free: 65.04 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/6.587, allocations: 7.781 kB / 2.414 GB, free: 65.04 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/6.587, allocations: 57.78 kB / 2.414 GB, free: 65.04 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/6.587, allocations: 137.5 kB / 2.414 GB, free: 65.04 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004974/6.592, allocations: 3.611 MB / 2.418 GB, free: 65.02 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/6.606, allocations: 8.467 MB / 2.426 GB, free: 62.58 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/6.61, allocations: 1.555 MB / 2.428 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/6.611, allocations: 0.7847 MB / 2.428 GB, free: 62.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/6.612, allocations: 0.7543 MB / 2.429 GB, free: 61.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/6.612, allocations: 45.95 kB / 2.429 GB, free: 61.85 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003072/6.615, allocations: 0.8383 MB / 2.43 GB, free: 61.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=74): time 7.183e-06/6.615, allocations: 0 / 2.43 GB, free: 61.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74): time 0.00327/6.618, allocations: 2.1 MB / 2.432 GB, free: 61.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/6.618, allocations: 142.5 kB / 2.432 GB, free: 61.51 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/6.62, allocations: 1.49 MB / 2.434 GB, free: 61.35 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/6.62, allocations: 45.55 kB / 2.434 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/6.621, allocations: 0.6421 MB / 2.434 GB, free: 61.13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/6.621, allocations: 263 kB / 2.435 GB, free: 61 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/6.621, allocations: 20.25 kB / 2.435 GB, free: 61 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/6.621, allocations: 342.1 kB / 2.435 GB, free: 60.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/6.622, allocations: 0.8235 MB / 2.436 GB, free: 60.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/6.623, allocations: 1.019 MB / 2.437 GB, free: 60.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/6.625, allocations: 0.9332 MB / 2.438 GB, free: 60.49 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/6.625, allocations: 0 / 2.438 GB, free: 60.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00441/6.629, allocations: 2.64 MB / 2.44 GB, free: 60.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003948/6.629, allocations: 1.876 MB / 2.442 GB, free: 58.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/6.63, allocations: 4.969 kB / 2.442 GB, free: 58.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01899/6.649, allocations: 3.687 MB / 2.446 GB, free: 58.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/6.65, allocations: 186.5 kB / 2.446 GB, free: 58.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/6.653, allocations: 2.255 MB / 2.448 GB, free: 57.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/6.655, allocations: 82.39 kB / 2.448 GB, free: 57.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/6.655, allocations: 87.44 kB / 2.448 GB, free: 57.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/6.655, allocations: 4.562 kB / 2.448 GB, free: 57.89 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003438/6.658, allocations: 2.045 MB / 2.45 GB, free: 57.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/6.658, allocations: 3.938 kB / 2.45 GB, free: 57.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000683/6.659, allocations: 165.5 kB / 2.45 GB, free: 57.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/6.66, allocations: 268.4 kB / 2.451 GB, free: 57.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/6.663, allocations: 2.167 MB / 2.453 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/6.665, allocations: 81.11 kB / 2.453 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/6.665, allocations: 82.8 kB / 2.453 GB, free: 56.56 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 34} Notification: Performance of prepare postOptimizeDAE: time 0.0004615/6.665, allocations: 164.4 kB / 2.453 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/6.666, allocations: 152.5 kB / 2.453 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005233/6.671, allocations: 3.259 MB / 2.456 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/6.671, allocations: 9.062 kB / 2.456 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/6.671, allocations: 1.531 kB / 2.456 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/6.671, allocations: 3.938 kB / 2.456 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/6.676, allocations: 3.213 MB / 2.46 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/6.676, allocations: 5.422 kB / 2.46 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/6.676, allocations: 74.25 kB / 2.46 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/6.687, allocations: 2.534 MB / 2.462 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/6.687, allocations: 21.03 kB / 2.462 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/6.689, allocations: 1.888 MB / 2.464 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/6.689, allocations: 3.594 kB / 2.464 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/6.693, allocations: 1.878 MB / 2.466 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/6.694, allocations: 261.2 kB / 2.466 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004857/6.694, allocations: 13.28 kB / 2.466 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/6.696, allocations: 89.25 kB / 2.466 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/6.696, allocations: 51.3 kB / 2.466 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/6.696, allocations: 58.52 kB / 2.466 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001855/6.698, allocations: 1.168 MB / 2.467 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/6.698, allocations: 0 / 2.467 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006125/6.704, allocations: 1.75 MB / 2.469 GB, free: 54.53 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.0107/6.715, allocations: 4.674 MB / 2.474 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006058/6.721, allocations: 2.971 MB / 2.477 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/6.721, allocations: 7.688 kB / 2.477 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/6.723, allocations: 0.7114 MB / 2.477 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005325/6.728, allocations: 0.9164 MB / 2.478 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/6.736, allocations: 2.752 MB / 2.481 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/6.737, allocations: 1.322 MB / 2.482 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003741/6.741, allocations: 1.19 MB / 2.483 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008275/6.742, allocations: 0.5117 MB / 2.484 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of SimCode: time 1.653e-06/6.742, allocations: 0 / 2.484 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/6.878, allocations: 96.93 MB / 2.578 GB, free: 5.773 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/6.878, allocations: 228.1 kB / 2.579 GB, free: 5.473 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.821/12.7, allocations: 0 / 2.579 GB, free: 5.473 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat