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.001413/0.001413, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.001311, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247 MB, free: 10.41 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.2277/0.2277, allocations: 46.13 MB / 344.4 MB, free: 11.43 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.002217/0.002217, allocations: 79.88 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3448, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01383/0.3587, allocations: 11.28 MB / 0.5417 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.3723, allocations: 11.78 MB / 0.5532 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.3725, allocations: 0 / 0.5532 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.3729, allocations: 75.53 kB / 0.5532 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00994/0.3828, allocations: 3.116 MB / 0.5563 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.3833, allocations: 155.2 kB / 0.5564 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00582/0.3891, allocations: 3.897 MB / 0.5602 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.77e-05/0.3892, allocations: 24.38 kB / 0.5603 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3894, allocations: 131.6 kB / 0.5604 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009908/0.3993, allocations: 7.126 MB / 0.5673 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.3994, allocations: 8 kB / 0.5674 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005741/0.4052, allocations: 2.139 MB / 0.5694 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4053, allocations: 43.77 kB / 0.5695 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.4056, allocations: 123.5 kB / 0.5696 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005778/0.4114, allocations: 1.555 MB / 0.5711 GB, free: 8.164 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4114, allocations: 0 / 0.5711 GB, free: 8.164 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4114, allocations: 0 / 0.5711 GB, free: 8.164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.4114, allocations: 0 / 0.5711 GB, free: 8.164 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002356/0.4138, allocations: 0.9453 MB / 0.572 GB, free: 7.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4139, allocations: 8.031 kB / 0.572 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.869e-05/0.4139, allocations: 62.72 kB / 0.5721 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005881/0.4145, allocations: 84.67 kB / 0.5722 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.415, allocations: 248 kB / 0.5724 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.415, allocations: 20.94 kB / 0.5724 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.415, allocations: 28.31 kB / 0.5725 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.416, allocations: 493.4 kB / 0.5729 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.4161, allocations: 0 / 0.5729 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.4161, allocations: 16 kB / 0.573 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.4161, allocations: 8 kB / 0.573 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.4173, allocations: 0.6773 MB / 0.5736 GB, free: 5.461 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.007739/0.425, allocations: 4.304 MB / 0.5778 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.4256, allocations: 163.1 kB / 0.578 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.4258, allocations: 69.52 kB / 0.5781 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02931/0.4551, allocations: 16.41 MB / 0.5941 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007394/0.4559, allocations: 314 kB / 0.5944 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.476e-06/0.4559, allocations: 0 / 0.5944 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001486/0.4574, allocations: 446.3 kB / 0.5948 GB, free: 13.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002582/0.4576, allocations: 474.6 kB / 0.5953 GB, free: 12.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.4579, allocations: 190.5 kB / 0.5954 GB, free: 12.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.4579, allocations: 41.64 kB / 0.5955 GB, free: 12.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.4581, allocations: 184.2 kB / 0.5957 GB, free: 12.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.588e-05/0.4581, allocations: 103.2 kB / 0.5958 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.4583, allocations: 94.06 kB / 0.5958 GB, free: 11.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4584, allocations: 326.8 kB / 0.5962 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.4586, allocations: 64.83 kB / 0.5962 GB, free: 11.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.4589, allocations: 314.7 kB / 0.5965 GB, free: 11.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.4594, allocations: 421 kB / 0.5969 GB, free: 10.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.4595, allocations: 0 / 0.5969 GB, free: 10.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007107/0.4602, allocations: 401.9 kB / 0.5973 GB, free: 10.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4602, allocations: 12.22 kB / 0.5973 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4602, allocations: 8 kB / 0.5973 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.4603, allocations: 12 kB / 0.5973 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.4606, allocations: 111.8 kB / 0.5974 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.4606, allocations: 15.94 kB / 0.5975 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.4609, allocations: 51.61 kB / 0.5975 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.4609, allocations: 31.98 kB / 0.5975 GB, free: 9.906 MB / 462.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.0001758/0.4611, allocations: 161.5 kB / 0.5977 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.4612, allocations: 35.84 kB / 0.5977 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.4623, allocations: 0.7742 MB / 0.5985 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.4623, allocations: 7.984 kB / 0.5985 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4623, allocations: 7.938 kB / 0.5985 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.4624, allocations: 7.875 kB / 0.5985 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.4637, allocations: 1.216 MB / 0.5997 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.4637, allocations: 4 kB / 0.5997 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4638, allocations: 31.92 kB / 0.5997 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.4638, allocations: 7.938 kB / 0.5997 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4638, allocations: 8 kB / 0.5997 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.4638, allocations: 4 kB / 0.5997 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.4639, allocations: 11.92 kB / 0.5998 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.4643, allocations: 375.2 kB / 0.6001 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/0.4644, allocations: 108.8 kB / 0.6002 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/0.4645, allocations: 51.56 kB / 0.6003 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.4647, allocations: 11.98 kB / 0.6003 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.4648, allocations: 15.97 kB / 0.6003 GB, free: 6.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.4648, allocations: 16 kB / 0.6003 GB, free: 6.809 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003611/0.4652, allocations: 294.9 kB / 0.6006 GB, free: 6.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4652, allocations: 0 / 0.6006 GB, free: 6.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001337/0.4665, allocations: 426.6 kB / 0.601 GB, free: 6.102 MB / 462.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.002354/0.4689, allocations: 1.449 MB / 0.6024 GB, free: 4.594 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005034/0.4694, allocations: 233 kB / 0.6026 GB, free: 4.367 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4694, allocations: 4 kB / 0.6026 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.4696, allocations: 87.78 kB / 0.6027 GB, free: 4.277 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000786/0.4704, allocations: 114.8 kB / 0.6028 GB, free: 4.172 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.625/2.096, allocations: 0.5821 GB / 1.185 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/2.096, allocations: 0.8079 MB / 1.186 GB, free: 212.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000392/2.096, allocations: 170.6 kB / 1.186 GB, free: 212.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/2.096, allocations: 157.7 kB / 1.186 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/2.096, allocations: 0 / 1.186 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/2.139, allocations: 18.37 MB / 1.204 GB, free: 197.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.034/11.17, allocations: 14.05 kB / 1.204 GB, free: 197 MB / 0.6075 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)