Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009753/0.0009751, allocations: 98.09 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009623/0.0009625, allocations: 197.6 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003563, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.008589/0.138, allocations: 7.5 MB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.1502, allocations: 11.38 MB / 0.4887 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.1505, allocations: 4 kB / 0.4887 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1508, allocations: 51.73 kB / 0.4887 GB, free: 2.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008281/0.1591, allocations: 2.601 MB / 0.4913 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.1595, allocations: 139.2 kB / 0.4914 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009402/0.1689, allocations: 7.149 MB / 0.4984 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.753e-05/0.1691, allocations: 16.41 kB / 0.4984 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1693, allocations: 139.6 kB / 0.4985 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3026/0.4718, allocations: 13.84 MB / 0.5121 GB, free: 25.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.136e-05/0.472, allocations: 6.781 kB / 0.5121 GB, free: 25.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007473/0.4794, allocations: 2.42 MB / 0.5144 GB, free: 25.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.4796, allocations: 40.33 kB / 0.5145 GB, free: 25.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.4798, allocations: 71.58 kB / 0.5145 GB, free: 25.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003755/0.4836, allocations: 1.146 MB / 0.5156 GB, free: 25.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4836, allocations: 0 / 0.5156 GB, free: 25.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4836, allocations: 1.031 kB / 0.5156 GB, free: 25.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.4836, allocations: 0.6562 kB / 0.5157 GB, free: 25.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002958/0.4866, allocations: 0.9074 MB / 0.5165 GB, free: 24.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4867, allocations: 11.38 kB / 0.5165 GB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.79e-05/0.4867, allocations: 63.45 kB / 0.5166 GB, free: 24.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005819/0.4873, allocations: 79.86 kB / 0.5167 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.4876, allocations: 244.1 kB / 0.5169 GB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.4877, allocations: 20.12 kB / 0.5169 GB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.4877, allocations: 29.94 kB / 0.517 GB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4887, allocations: 479.2 kB / 0.5174 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4888, allocations: 1.438 kB / 0.5174 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.4888, allocations: 17.84 kB / 0.5174 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.4888, allocations: 6.656 kB / 0.5174 GB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.49, allocations: 0.6821 MB / 0.5181 GB, free: 24.6 MB / 382.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.007432/0.4974, allocations: 3.142 MB / 0.5212 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/0.4982, allocations: 217.7 kB / 0.5214 GB, free: 22.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07088/0.5691, allocations: 31.46 MB / 0.5521 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007435/0.5699, allocations: 343.4 kB / 0.5524 GB, free: 11.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.846e-06/0.5699, allocations: 0 / 0.5524 GB, free: 11.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002671/0.5726, allocations: 0.8619 MB / 0.5533 GB, free: 11.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002409/0.5728, allocations: 478.2 kB / 0.5537 GB, free: 10.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.573, allocations: 152.6 kB / 0.5539 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.573, allocations: 36.33 kB / 0.5539 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5732, allocations: 161.9 kB / 0.5541 GB, free: 10.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.5733, allocations: 126.5 kB / 0.5542 GB, free: 10.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.5733, allocations: 14.44 kB / 0.5542 GB, free: 10.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5735, allocations: 324.7 kB / 0.5545 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.5736, allocations: 64.45 kB / 0.5546 GB, free: 9.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.5739, allocations: 308.9 kB / 0.5549 GB, free: 9.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.574, allocations: 112.9 kB / 0.555 GB, free: 9.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5741, allocations: 4 kB / 0.555 GB, free: 9.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006163/0.5747, allocations: 395.7 kB / 0.5554 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.5747, allocations: 13 kB / 0.5554 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5747, allocations: 8 kB / 0.5554 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.5748, allocations: 16 kB / 0.5554 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.5765, allocations: 260.3 kB / 0.5556 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006888/0.5772, allocations: 1.189 MB / 0.5568 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.5775, allocations: 21.25 kB / 0.5568 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.5775, allocations: 30.92 kB / 0.5569 GB, free: 7.617 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.5777, allocations: 159.9 kB / 0.557 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.5778, allocations: 32.58 kB / 0.557 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.579, allocations: 0.986 MB / 0.558 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.5791, allocations: 7.984 kB / 0.558 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5791, allocations: 4 kB / 0.558 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5791, allocations: 4.219 kB / 0.558 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.5805, allocations: 1.419 MB / 0.5594 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.5805, allocations: 4 kB / 0.5594 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5816, allocations: 151 kB / 0.5595 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.5816, allocations: 4 kB / 0.5596 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5816, allocations: 7.438 kB / 0.5596 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002844/0.5819, allocations: 0.5961 MB / 0.5601 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5819, allocations: 4 kB / 0.5601 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.5825, allocations: 0.6282 MB / 0.5608 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.5827, allocations: 224 kB / 0.561 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/0.5827, allocations: 7.75 kB / 0.561 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.583, allocations: 19.48 kB / 0.561 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.583, allocations: 30.36 kB / 0.561 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.5831, allocations: 11.25 kB / 0.561 GB, free: 3.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.5833, allocations: 267.4 kB / 0.5613 GB, free: 3.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5834, allocations: 6.297 kB / 0.5613 GB, free: 3.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002205/0.5856, allocations: 466.1 kB / 0.5617 GB, free: 3.168 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003431/0.589, allocations: 2.439 MB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.5907, allocations: 387.3 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5908, allocations: 4 kB / 0.5645 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.5915, allocations: 226 kB / 0.5647 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.5922, allocations: 101.4 kB / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.598, allocations: 7.999 MB / 0.5726 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.5984, allocations: 0.8351 MB / 0.5734 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004854/0.5989, allocations: 165.5 kB / 0.5736 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.5991, allocations: 156.8 kB / 0.5737 GB, free: 7.379 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5991, allocations: 0 / 0.5737 GB, free: 7.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.6398, allocations: 19.11 MB / 0.5924 GB, free: 4.613 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.6401, allocations: 236.5 kB / 0.5926 GB, free: 4.371 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/3.253, allocations: 6.188 kB / 0.5926 GB, free: 4.371 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat