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.001287/0.001287, allocations: 104.5 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.001378/0.001378, 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.461/1.461, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2279/0.2279, allocations: 46.13 MB / 344.2 MB, free: 11.55 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.002348/0.002348, allocations: 82.47 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1181, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01366/0.1318, allocations: 11.28 MB / 491.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.1457, allocations: 11.78 MB / 0.4915 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.146, allocations: 0 / 0.4915 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.1463, allocations: 79.48 kB / 0.4915 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.157, allocations: 3.125 MB / 0.4946 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.1575, allocations: 149.8 kB / 0.4947 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005883/0.1634, allocations: 3.897 MB / 0.4985 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.252e-05/0.1635, allocations: 16.41 kB / 0.4986 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.1637, allocations: 147.5 kB / 0.4987 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2435/0.4072, allocations: 7.123 MB / 0.5057 GB, free: 23.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.765e-05/0.4073, allocations: 7.938 kB / 0.5057 GB, free: 23.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006287/0.4136, allocations: 2.098 MB / 0.5077 GB, free: 23.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.4139, allocations: 45.08 kB / 0.5078 GB, free: 23.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.4142, allocations: 120.7 kB / 0.5079 GB, free: 23.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007015/0.4212, allocations: 1.546 MB / 0.5094 GB, free: 23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4213, allocations: 1.406 kB / 0.5094 GB, free: 23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4213, allocations: 0 / 0.5094 GB, free: 23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.4213, allocations: 0 / 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.003515/0.4248, allocations: 0.9278 MB / 0.5103 GB, free: 22.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/0.4249, allocations: 9.781 kB / 0.5103 GB, free: 22.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.687e-05/0.425, allocations: 62.28 kB / 0.5104 GB, free: 22.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/0.4256, allocations: 81.64 kB / 0.5104 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.4259, allocations: 241.1 kB / 0.5107 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.4259, allocations: 22.81 kB / 0.5107 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.426, allocations: 29.09 kB / 0.5107 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/0.4269, allocations: 483.6 kB / 0.5112 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.427, allocations: 1.219 kB / 0.5112 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.427, allocations: 11.8 kB / 0.5112 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.427, allocations: 7.812 kB / 0.5112 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.4282, allocations: 0.6874 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.007822/0.436, allocations: 4.301 MB / 0.5161 GB, free: 19.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.4366, allocations: 168.5 kB / 0.5162 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.4368, allocations: 61.55 kB / 0.5163 GB, free: 19.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02709/0.4639, allocations: 16.41 MB / 0.5323 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007495/0.4646, allocations: 328.8 kB / 0.5326 GB, free: 7.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.455e-06/0.4647, allocations: 0 / 0.5326 GB, free: 7.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001303/0.466, allocations: 432.2 kB / 0.533 GB, free: 7.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/0.4661, allocations: 484.9 kB / 0.5335 GB, free: 6.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.4663, allocations: 187.2 kB / 0.5337 GB, free: 6.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4663, allocations: 33.08 kB / 0.5337 GB, free: 6.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.4664, allocations: 183.1 kB / 0.5339 GB, free: 6.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.4664, allocations: 113.8 kB / 0.534 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.4666, allocations: 89.97 kB / 0.5341 GB, free: 6.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.4666, allocations: 340 kB / 0.5344 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4667, allocations: 64.52 kB / 0.5345 GB, free: 5.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.4669, allocations: 308 kB / 0.5348 GB, free: 5.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.4673, allocations: 420.7 kB / 0.5352 GB, free: 5.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4673, allocations: 4 kB / 0.5352 GB, free: 5.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000624/0.468, allocations: 396 kB / 0.5355 GB, free: 5.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.468, allocations: 8.75 kB / 0.5355 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.468, allocations: 8.594 kB / 0.5356 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.023e-05/0.4681, allocations: 11.47 kB / 0.5356 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.4684, allocations: 105.4 kB / 0.5357 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.4684, allocations: 23.98 kB / 0.5357 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.4687, allocations: 46.56 kB / 0.5357 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.4687, allocations: 30.88 kB / 0.5358 GB, free: 5.078 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.000123/0.4689, allocations: 157.6 kB / 0.5359 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/0.469, allocations: 25.97 kB / 0.5359 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000939/0.4699, allocations: 0.7795 MB / 0.5367 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4699, allocations: 8.062 kB / 0.5367 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.4699, allocations: 2.75 kB / 0.5367 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.47, allocations: 6.906 kB / 0.5367 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009648/0.4709, allocations: 1.212 MB / 0.5379 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.4709, allocations: 2.75 kB / 0.5379 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.4711, allocations: 38.84 kB / 0.5379 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4711, allocations: 8.062 kB / 0.5379 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4711, allocations: 4.125 kB / 0.538 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4711, allocations: 11.78 kB / 0.538 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4711, allocations: 2.75 kB / 0.538 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.4715, allocations: 370.4 kB / 0.5383 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.4716, allocations: 105.7 kB / 0.5384 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.4716, allocations: 52.05 kB / 0.5385 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.4719, allocations: 9.875 kB / 0.5385 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.4719, allocations: 23.11 kB / 0.5385 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.4719, allocations: 13.23 kB / 0.5385 GB, free: 3.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002532/0.4722, allocations: 292.5 kB / 0.5388 GB, free: 3.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4722, allocations: 2.078 kB / 0.5388 GB, free: 3.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001629/0.4738, allocations: 413.6 kB / 0.5392 GB, free: 3.125 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.002035/0.4759, allocations: 1.451 MB / 0.5406 GB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.4763, allocations: 238.6 kB / 0.5408 GB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4763, allocations: 0 / 0.5408 GB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.4764, allocations: 86.45 kB / 0.5409 GB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.4772, allocations: 119.4 kB / 0.541 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.332/1.81, 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.0005222/1.81, allocations: 0.8089 MB / 1.124 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007219/1.811, allocations: 166.7 kB / 1.124 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/1.811, allocations: 149.8 kB / 1.124 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.133e-06/1.811, allocations: 0 / 1.124 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04179/1.853, allocations: 18.28 MB / 1.142 GB, free: 172 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.95/10.8, allocations: 19.75 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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)