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.0007663/0.0007663, allocations: 88.19 kB / 15.7 MB, free: 460 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.001385/0.001385, allocations: 174.7 kB / 16.58 MB, free: 6.844 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.641/1.641, allocations: 205.4 MB / 222.8 MB, free: 5.883 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.4178/0.4178, allocations: 43.54 MB / 314.6 MB, free: 8.652 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.0005123/0.0005123, allocations: 15.98 kB / 384 MB, free: 7.969 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1338, allocations: 58.85 MB / 442.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4307/0.5646, allocations: 137.1 MB / 0.5664 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.5678, allocations: 2.825 MB / 0.5692 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.5678, allocations: 0 / 0.5692 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.5681, allocations: 43.72 kB / 0.5692 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.5696, allocations: 0.6921 MB / 0.5699 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.57, allocations: 157.5 kB / 0.57 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.5704, allocations: 410.5 kB / 0.5704 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.5705, allocations: 19.77 kB / 0.5704 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.5707, allocations: 131.5 kB / 0.5706 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.5709, allocations: 123.6 kB / 0.5707 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.5709, allocations: 10.53 kB / 0.5707 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.5728, allocations: 1.049 MB / 0.5717 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-05/0.573, allocations: 75.83 kB / 0.5718 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.573, allocations: 57.64 kB / 0.5719 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.5737, allocations: 0.5987 MB / 0.5724 GB, free: 12.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5738, allocations: 7.984 kB / 0.5724 GB, free: 12.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5738, allocations: 0 / 0.5724 GB, free: 12.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.5738, allocations: 0 / 0.5724 GB, free: 12.51 MB / 446.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.0006879/0.5745, allocations: 494.7 kB / 0.5729 GB, free: 11.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5745, allocations: 16.03 kB / 0.5729 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.5746, allocations: 53.47 kB / 0.573 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/0.5776, allocations: 377.8 kB / 0.5733 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.578, allocations: 258.8 kB / 0.5736 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.578, allocations: 16.25 kB / 0.5736 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.5781, allocations: 23.98 kB / 0.5736 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008396/0.5789, allocations: 490.9 kB / 0.5741 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.5789, allocations: 0 / 0.5741 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.579, allocations: 8 kB / 0.5741 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.579, allocations: 7.953 kB / 0.5741 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009003/0.5799, allocations: 0.5114 MB / 0.5746 GB, free: 10.2 MB / 446.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.001935/0.5818, allocations: 0.9984 MB / 0.5756 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.5824, allocations: 285.5 kB / 0.5759 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.5826, allocations: 157.6 kB / 0.576 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.5841, allocations: 0.8933 MB / 0.5769 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5841, allocations: 35.06 kB / 0.5769 GB, free: 7.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.5842, allocations: 0 / 0.5769 GB, free: 7.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008172/0.585, allocations: 410.2 kB / 0.5773 GB, free: 7.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.585, allocations: 85.06 kB / 0.5774 GB, free: 7.113 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.5851, allocations: 105.8 kB / 0.5775 GB, free: 7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.5852, allocations: 33.7 kB / 0.5775 GB, free: 6.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.5852, allocations: 112.3 kB / 0.5776 GB, free: 6.844 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.5853, allocations: 106.5 kB / 0.5777 GB, free: 6.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.5853, allocations: 4 kB / 0.5777 GB, free: 6.734 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5855, allocations: 328 kB / 0.578 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.5857, allocations: 120.6 kB / 0.5782 GB, free: 6.289 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.5859, allocations: 207.3 kB / 0.5784 GB, free: 6.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.5862, allocations: 136 kB / 0.5785 GB, free: 5.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5862, allocations: 0 / 0.5785 GB, free: 5.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006436/0.5869, allocations: 377.6 kB / 0.5788 GB, free: 5.543 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5869, allocations: 4 kB / 0.5788 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5869, allocations: 4 kB / 0.5789 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.5869, allocations: 4 kB / 0.5789 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.5873, allocations: 77.77 kB / 0.5789 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.5873, allocations: 15.89 kB / 0.5789 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.5876, allocations: 39.98 kB / 0.579 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.5876, allocations: 21.39 kB / 0.579 GB, free: 5.383 MB / 446.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.0001512/0.5878, allocations: 141.8 kB / 0.5791 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.5879, allocations: 11.91 kB / 0.5792 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000768/0.5886, allocations: 380.4 kB / 0.5795 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5887, allocations: 4 kB / 0.5795 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5887, allocations: 0 / 0.5795 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5887, allocations: 7.938 kB / 0.5795 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.5892, allocations: 357.5 kB / 0.5799 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5892, allocations: 0 / 0.5799 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.5896, allocations: 63.89 kB / 0.5799 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5896, allocations: 3.938 kB / 0.5799 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.5897, allocations: 8 kB / 0.5799 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.5897, allocations: 7.984 kB / 0.5799 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5897, allocations: 7.75 kB / 0.58 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/0.5905, allocations: 0.55 MB / 0.5805 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.5905, allocations: 96.84 kB / 0.5806 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.5906, allocations: 8.062 kB / 0.5806 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.5909, allocations: 19.98 kB / 0.5806 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.591, allocations: 19.97 kB / 0.5806 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.591, allocations: 15.98 kB / 0.5806 GB, free: 3.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.91e-05/0.5911, allocations: 92.95 kB / 0.5807 GB, free: 3.527 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.5911, allocations: 0 / 0.5807 GB, free: 3.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007313/0.5918, allocations: 227.7 kB / 0.581 GB, free: 3.305 MB / 446.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.001752/0.5936, allocations: 1.34 MB / 0.5823 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.5941, allocations: 299.9 kB / 0.5825 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5941, allocations: 0 / 0.5825 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.5944, allocations: 153.2 kB / 0.5827 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.595, allocations: 84.16 kB / 0.5828 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.5974, allocations: 1.668 MB / 0.5844 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.5977, allocations: 0.7326 MB / 0.5851 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.5981, allocations: 80.14 kB / 0.5852 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.5983, allocations: 63.41 kB / 0.5853 GB, free: 14.79 MB / 462.1 MB Notification: Performance of SimCode: time 2.565e-06/0.5983, allocations: 96 / 0.5853 GB, free: 14.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.6206, allocations: 9.939 MB / 0.595 GB, free: 4.902 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.6209, allocations: 186.9 kB / 0.5951 GB, free: 4.656 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.598, allocations: 0 / 0.5951 GB, free: 4.656 MB / 462.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