Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2305/0.2305, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 88.67 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1342, allocations: 62.46 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01388/0.1481, allocations: 11.27 MB / 491.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0141/0.1623, allocations: 11.78 MB / 0.4915 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1626, allocations: 4 kB / 0.4915 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1629, allocations: 75.48 kB / 0.4915 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009134/0.172, allocations: 3.121 MB / 0.4946 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.1725, allocations: 153.6 kB / 0.4947 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005703/0.1782, allocations: 3.897 MB / 0.4985 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.768e-05/0.1783, allocations: 16.41 kB / 0.4986 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.1785, allocations: 139.5 kB / 0.4987 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2122/0.3907, allocations: 7.122 MB / 0.5057 GB, free: 23.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.3909, allocations: 10.44 kB / 0.5057 GB, free: 23.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005764/0.3966, allocations: 2.102 MB / 0.5077 GB, free: 23.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3968, allocations: 43.28 kB / 0.5078 GB, free: 23.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.397, allocations: 122.9 kB / 0.5079 GB, free: 23.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00455/0.4016, allocations: 1.547 MB / 0.5094 GB, free: 23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4016, allocations: 4 kB / 0.5094 GB, free: 23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4016, allocations: 0 / 0.5094 GB, free: 23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.4017, allocations: 1.062 kB / 0.5094 GB, free: 23 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.002289/0.4039, allocations: 0.922 MB / 0.5103 GB, free: 22.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.404, allocations: 14.8 kB / 0.5103 GB, free: 22.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.388e-05/0.4041, allocations: 61.2 kB / 0.5104 GB, free: 22.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000594/0.4047, allocations: 78.59 kB / 0.5104 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.4049, allocations: 246 kB / 0.5107 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.405, allocations: 21.44 kB / 0.5107 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.405, allocations: 25.56 kB / 0.5107 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009019/0.4059, allocations: 485.3 kB / 0.5112 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.406, allocations: 4.312 kB / 0.5112 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.406, allocations: 13.62 kB / 0.5112 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-06/0.406, allocations: 6.938 kB / 0.5112 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.4071, allocations: 0.6805 MB / 0.5119 GB, free: 22.06 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.007022/0.4141, allocations: 4.302 MB / 0.5161 GB, free: 19.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.4147, allocations: 167 kB / 0.5162 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.425e-05/0.4148, allocations: 61.62 kB / 0.5163 GB, free: 19.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02602/0.4408, allocations: 16.41 MB / 0.5323 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006369/0.4415, allocations: 324.2 kB / 0.5326 GB, free: 7.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.4415, allocations: 0 / 0.5326 GB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001274/0.4428, allocations: 436.3 kB / 0.533 GB, free: 7.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.4429, allocations: 483 kB / 0.5335 GB, free: 6.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.443, allocations: 186.6 kB / 0.5337 GB, free: 6.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.4431, allocations: 32.33 kB / 0.5337 GB, free: 6.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.4431, allocations: 184.1 kB / 0.5339 GB, free: 6.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.4432, allocations: 114.8 kB / 0.534 GB, free: 6.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.4433, allocations: 89.72 kB / 0.5341 GB, free: 6.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.4434, allocations: 337 kB / 0.5344 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.4435, allocations: 59.97 kB / 0.5345 GB, free: 5.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.4437, allocations: 312 kB / 0.5348 GB, free: 5.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.4441, allocations: 427.4 kB / 0.5352 GB, free: 5.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4441, allocations: 5.719 kB / 0.5352 GB, free: 5.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005932/0.4447, allocations: 396.6 kB / 0.5355 GB, free: 5.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4448, allocations: 13.12 kB / 0.5356 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4448, allocations: 8.25 kB / 0.5356 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.4448, allocations: 15 kB / 0.5356 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.4451, allocations: 109.8 kB / 0.5357 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.4452, allocations: 19.92 kB / 0.5357 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.4454, allocations: 46.53 kB / 0.5357 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.4455, allocations: 28.56 kB / 0.5358 GB, free: 5.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.4456, allocations: 156.2 kB / 0.5359 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.4457, allocations: 27.75 kB / 0.5359 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009507/0.4467, allocations: 0.7772 MB / 0.5367 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.4467, allocations: 11.55 kB / 0.5367 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4467, allocations: 6.406 kB / 0.5367 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4467, allocations: 6.062 kB / 0.5367 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009654/0.4477, allocations: 1.205 MB / 0.5379 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4477, allocations: 2.75 kB / 0.5379 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.4478, allocations: 34.81 kB / 0.5379 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4478, allocations: 14.12 kB / 0.538 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4478, allocations: 8.062 kB / 0.538 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.4479, allocations: 5.688 kB / 0.538 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4479, allocations: 2.75 kB / 0.538 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.4483, allocations: 375.8 kB / 0.5383 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.4483, allocations: 97.11 kB / 0.5384 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.181e-05/0.4484, allocations: 55.55 kB / 0.5385 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.4486, allocations: 15.66 kB / 0.5385 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.4487, allocations: 10.7 kB / 0.5385 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.4487, allocations: 16.77 kB / 0.5385 GB, free: 3.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.4489, allocations: 288.8 kB / 0.5388 GB, free: 3.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.449, allocations: 0 / 0.5388 GB, free: 3.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001917/0.4509, allocations: 420.2 kB / 0.5392 GB, free: 3.133 MB / 382.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001982/0.4529, allocations: 1.441 MB / 0.5406 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.4533, allocations: 248.9 kB / 0.5408 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4533, allocations: 0 / 0.5408 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.4534, allocations: 84.39 kB / 0.5409 GB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/0.4541, allocations: 111.4 kB / 0.541 GB, free: 2.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.36/1.814, allocations: 0.582 GB / 1.123 GB, free: 186.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/1.815, allocations: 0.8131 MB / 1.124 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004826/1.815, allocations: 161.2 kB / 1.124 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/1.815, allocations: 148.1 kB / 1.124 GB, free: 186 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/1.815, allocations: 1.094 kB / 1.124 GB, free: 186 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/1.86, allocations: 18.29 MB / 1.142 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.841/10.7, allocations: 15.92 kB / 1.142 GB, free: 172 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1)