Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009326/0.0009326, allocations: 96.05 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 173.7 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4391/0.4391, allocations: 43.56 MB / 314.5 MB, free: 9.043 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005457/0.0005459, allocations: 14.97 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1527, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4779/0.6306, allocations: 126 MB / 0.5555 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.6344, allocations: 2.505 MB / 0.5579 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.6346, allocations: 0 / 0.5579 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.6349, allocations: 58.06 kB / 0.558 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.6373, allocations: 0.697 MB / 0.5586 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.6378, allocations: 163.5 kB / 0.5588 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.6382, allocations: 214.3 kB / 0.559 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.6383, allocations: 11.78 kB / 0.559 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.6386, allocations: 159 kB / 0.5592 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.6388, allocations: 88.8 kB / 0.5593 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.6388, allocations: 11.94 kB / 0.5593 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.6415, allocations: 1.086 MB / 0.5603 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.6416, allocations: 68.27 kB / 0.5604 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.6417, allocations: 61.64 kB / 0.5604 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009879/0.6427, allocations: 0.5821 MB / 0.561 GB, free: 8.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6427, allocations: 0 / 0.561 GB, free: 8.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6427, allocations: 0 / 0.561 GB, free: 8.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.6428, allocations: 4 kB / 0.561 GB, free: 8.246 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009108/0.6437, allocations: 0.4989 MB / 0.5615 GB, free: 7.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/0.6437, allocations: 15.97 kB / 0.5615 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.786e-05/0.6438, allocations: 57.3 kB / 0.5616 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.6453, allocations: 203.5 kB / 0.5618 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.6456, allocations: 230.8 kB / 0.562 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.6456, allocations: 12.38 kB / 0.562 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.6457, allocations: 21.72 kB / 0.562 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.6464, allocations: 373.4 kB / 0.5624 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.6464, allocations: 0 / 0.5624 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.6464, allocations: 8 kB / 0.5624 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.6464, allocations: 7.953 kB / 0.5624 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.6471, allocations: 407.8 kB / 0.5628 GB, free: 6.34 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.001681/0.6487, allocations: 0.8084 MB / 0.5636 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.6491, allocations: 217.1 kB / 0.5638 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.6504, allocations: 0.675 MB / 0.5644 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6505, allocations: 38.5 kB / 0.5645 GB, free: 4.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.6505, allocations: 0 / 0.5645 GB, free: 4.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.00115/0.6516, allocations: 372.4 kB / 0.5648 GB, free: 4.047 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.6517, allocations: 81.11 kB / 0.5649 GB, free: 3.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.6518, allocations: 118.5 kB / 0.565 GB, free: 3.824 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.6519, allocations: 29.7 kB / 0.5651 GB, free: 3.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.652, allocations: 112.4 kB / 0.5652 GB, free: 3.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.6521, allocations: 102.4 kB / 0.5653 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.6521, allocations: 12 kB / 0.5653 GB, free: 3.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.6523, allocations: 326.8 kB / 0.5656 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.6525, allocations: 100.6 kB / 0.5657 GB, free: 3.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.6528, allocations: 183.5 kB / 0.5659 GB, free: 2.922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.653, allocations: 117.3 kB / 0.566 GB, free: 2.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6531, allocations: 4 kB / 0.566 GB, free: 2.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006172/0.6537, allocations: 341.8 kB / 0.5663 GB, free: 2.465 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.6537, allocations: 11.98 kB / 0.5663 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6537, allocations: 4 kB / 0.5663 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.6538, allocations: 4 kB / 0.5663 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.6541, allocations: 71.91 kB / 0.5664 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.6541, allocations: 7.938 kB / 0.5664 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.6544, allocations: 28.14 kB / 0.5664 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.6544, allocations: 21.33 kB / 0.5664 GB, free: 2.32 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.6546, allocations: 145.7 kB / 0.5666 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.6547, allocations: 19.77 kB / 0.5666 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/0.6553, allocations: 340.3 kB / 0.5669 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.403e-06/0.6554, allocations: 4 kB / 0.5669 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6554, allocations: 7.984 kB / 0.5669 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.6554, allocations: 0 / 0.5669 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.6559, allocations: 327.9 kB / 0.5672 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.656, allocations: 0 / 0.5672 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.6563, allocations: 55.91 kB / 0.5673 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.6563, allocations: 4 kB / 0.5673 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.6563, allocations: 11.95 kB / 0.5673 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6563, allocations: 5.109 kB / 0.5673 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6564, allocations: 0 / 0.5673 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/0.6571, allocations: 0.5113 MB / 0.5678 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.6572, allocations: 100.8 kB / 0.5679 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.6572, allocations: 4.062 kB / 0.5679 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.6575, allocations: 15.98 kB / 0.5679 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.6576, allocations: 23.97 kB / 0.568 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.6576, allocations: 19.92 kB / 0.568 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.6577, allocations: 87.28 kB / 0.5681 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6577, allocations: 0 / 0.5681 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008398/0.6585, allocations: 227.7 kB / 0.5683 GB, free: 364 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001939/0.6605, allocations: 1.38 MB / 0.5696 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004836/0.661, allocations: 251.7 kB / 0.5699 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.661, allocations: 0 / 0.5699 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.6612, allocations: 124.5 kB / 0.57 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.6617, allocations: 82.05 kB / 0.5701 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.6648, allocations: 3.262 MB / 0.5732 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.6652, allocations: 0.7365 MB / 0.574 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003921/0.6656, allocations: 75.5 kB / 0.574 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.6657, allocations: 63.41 kB / 0.5741 GB, free: 10.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.6657, allocations: 0 / 0.5741 GB, free: 10.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.6894, allocations: 9.832 MB / 0.5837 GB, free: 500 kB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.6896, allocations: 189.6 kB / 0.5839 GB, free: 244 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.745, allocations: 0 / 0.5839 GB, free: 244 kB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat