Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001031/0.001031, allocations: 96.7 kB / 15.7 MB, free: 468 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.001323/0.001323, allocations: 176.6 kB / 16.58 MB, free: 6.062 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.557/1.557, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.3913/0.3913, allocations: 43.54 MB / 314.6 MB, free: 8.711 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.0005046/0.0005046, allocations: 16 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1408, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4299/0.5707, allocations: 123.2 MB / 0.5529 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.5753, allocations: 4.357 MB / 0.5571 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.5755, allocations: 0 / 0.5571 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.5758, allocations: 41 kB / 0.5571 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.5772, allocations: 0.5971 MB / 0.5577 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.5776, allocations: 146.4 kB / 0.5579 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.5781, allocations: 394.1 kB / 0.5582 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.5782, allocations: 9.688 kB / 0.5583 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.5784, allocations: 155.4 kB / 0.5584 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.5786, allocations: 191.4 kB / 0.5586 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.5787, allocations: 8 kB / 0.5586 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.5798, allocations: 0.5927 MB / 0.5592 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-05/0.5799, allocations: 43.81 kB / 0.5592 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.5799, allocations: 69.58 kB / 0.5593 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.5803, allocations: 293.8 kB / 0.5596 GB, free: 9.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5803, allocations: 0 / 0.5596 GB, free: 9.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5803, allocations: 0 / 0.5596 GB, free: 9.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.5803, allocations: 0 / 0.5596 GB, free: 9.242 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008007/0.5811, allocations: 0.5459 MB / 0.5601 GB, free: 8.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5812, allocations: 8.031 kB / 0.5601 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.5812, allocations: 62.53 kB / 0.5602 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.5814, allocations: 27.72 kB / 0.5602 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.5816, allocations: 226.7 kB / 0.5604 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.5817, allocations: 123.4 kB / 0.5605 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.5818, allocations: 27.94 kB / 0.5605 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.5822, allocations: 321.6 kB / 0.5609 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.5823, allocations: 3.938 kB / 0.5609 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.5823, allocations: 12 kB / 0.5609 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.5823, allocations: 7.984 kB / 0.5609 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.5831, allocations: 0.7352 MB / 0.5616 GB, free: 7.02 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.001154/0.5843, allocations: 1.232 MB / 0.5628 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.5846, allocations: 167.8 kB / 0.563 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.5848, allocations: 93.41 kB / 0.563 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002369/0.5872, allocations: 2.692 MB / 0.5657 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.5872, allocations: 42.52 kB / 0.5657 GB, free: 2.156 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5872, allocations: 0 / 0.5657 GB, free: 2.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006055/0.5878, allocations: 212.8 kB / 0.5659 GB, free: 1.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.5879, allocations: 59.39 kB / 0.566 GB, free: 1.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.5881, allocations: 214.9 kB / 0.5662 GB, free: 1.652 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5881, allocations: 25.7 kB / 0.5662 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.5882, allocations: 214.8 kB / 0.5664 GB, free: 1.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.5883, allocations: 55.34 kB / 0.5665 GB, free: 1.352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.5883, allocations: 4 kB / 0.5665 GB, free: 1.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5884, allocations: 330.8 kB / 0.5668 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.5885, allocations: 52.78 kB / 0.5668 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.5887, allocations: 328 kB / 0.5671 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.5889, allocations: 104.3 kB / 0.5672 GB, free: 416 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5889, allocations: 0 / 0.5672 GB, free: 416 kB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004801/0.5894, allocations: 385.1 kB / 0.5676 GB, free: 28 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.5894, allocations: 11.95 kB / 0.5676 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.5894, allocations: 12 kB / 0.5676 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.755e-05/0.5895, allocations: 16.05 kB / 0.5677 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.5898, allocations: 107.8 kB / 0.5678 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.5898, allocations: 15.94 kB / 0.5678 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.59, allocations: 24.94 kB / 0.5678 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.5901, allocations: 31.98 kB / 0.5678 GB, free: 15.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001308/0.5902, allocations: 153.6 kB / 0.568 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.5902, allocations: 19.72 kB / 0.568 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.5905, allocations: 161.4 kB / 0.5681 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5906, allocations: 4 kB / 0.5681 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.5906, allocations: 0.6875 kB / 0.5681 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5906, allocations: 0 / 0.5681 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.5911, allocations: 436 kB / 0.5686 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5911, allocations: 4 kB / 0.5686 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.5913, allocations: 36.8 kB / 0.5686 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.5913, allocations: 4 kB / 0.5686 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.5913, allocations: 0 / 0.5686 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.5913, allocations: 7.984 kB / 0.5686 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5913, allocations: 0 / 0.5686 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.5916, allocations: 217 kB / 0.5688 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.5917, allocations: 112.8 kB / 0.5689 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.5917, allocations: 4.5 kB / 0.5689 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.5919, allocations: 8.5 kB / 0.5689 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.5919, allocations: 15.91 kB / 0.569 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.5919, allocations: 11.98 kB / 0.569 GB, free: 14.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.5921, allocations: 148.5 kB / 0.5691 GB, free: 14.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5921, allocations: 0 / 0.5691 GB, free: 14.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.5925, allocations: 91.98 kB / 0.5692 GB, free: 14.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0007565/0.5933, allocations: 0.8033 MB / 0.57 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.5936, allocations: 181.2 kB / 0.5702 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5937, allocations: 3.938 kB / 0.5702 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.966e-05/0.5937, allocations: 37.23 kB / 0.5702 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.5942, allocations: 45.52 kB / 0.5702 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.5961, allocations: 1.382 MB / 0.5716 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.5964, allocations: 0.7326 MB / 0.5723 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.5967, allocations: 58.83 kB / 0.5724 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.5968, allocations: 59.42 kB / 0.5724 GB, free: 10.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5968, allocations: 0 / 0.5724 GB, free: 10.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.6126, allocations: 4.81 MB / 0.5771 GB, free: 6.031 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.6128, allocations: 179.7 kB / 0.5773 GB, free: 5.797 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.367, allocations: 0 / 0.5773 GB, free: 5.797 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat