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_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 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_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001266/0.001266, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247 MB, free: 10.45 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.2233/0.2233, allocations: 46.13 MB / 344.4 MB, free: 11.48 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.002337/0.002337, allocations: 79.86 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3772, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01459/0.3918, allocations: 11.28 MB / 0.5417 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.4063, allocations: 11.78 MB / 0.5532 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.4066, allocations: 0 / 0.5532 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.407, allocations: 75.48 kB / 0.5532 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.4176, allocations: 3.124 MB / 0.5563 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.418, allocations: 154.8 kB / 0.5564 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005929/0.424, allocations: 3.893 MB / 0.5602 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.704e-05/0.4241, allocations: 24.39 kB / 0.5603 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.4243, allocations: 139.5 kB / 0.5604 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009903/0.4342, allocations: 7.118 MB / 0.5674 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-05/0.4343, allocations: 8 kB / 0.5674 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007288/0.4416, allocations: 2.392 MB / 0.5697 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.4417, allocations: 47.75 kB / 0.5697 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.442, allocations: 127.4 kB / 0.5699 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005594/0.4476, allocations: 1.726 MB / 0.5715 GB, free: 7.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4476, allocations: 0 / 0.5715 GB, free: 7.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4476, allocations: 0 / 0.5715 GB, free: 7.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4476, allocations: 0 / 0.5715 GB, free: 7.746 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.45, allocations: 0.9839 MB / 0.5725 GB, free: 6.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.45, allocations: 8.031 kB / 0.5725 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.82e-05/0.4501, allocations: 66.72 kB / 0.5726 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.4507, allocations: 76.73 kB / 0.5727 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.4511, allocations: 256 kB / 0.5729 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4511, allocations: 20.94 kB / 0.5729 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.4512, allocations: 24.38 kB / 0.5729 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009911/0.4521, allocations: 489.4 kB / 0.5734 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4522, allocations: 0 / 0.5734 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.4522, allocations: 12 kB / 0.5734 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4522, allocations: 8 kB / 0.5734 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.4534, allocations: 0.6812 MB / 0.5741 GB, free: 5.008 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.006565/0.46, allocations: 3.148 MB / 0.5772 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.4607, allocations: 208.2 kB / 0.5774 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.4608, allocations: 81.38 kB / 0.5774 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08574/0.5465, allocations: 33.64 MB / 0.6103 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008403/0.5474, allocations: 354.5 kB / 0.6106 GB, free: 12.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.364e-06/0.5474, allocations: 0 / 0.6106 GB, free: 12.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002846/0.5503, allocations: 0.8843 MB / 0.6115 GB, free: 11.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002746/0.5506, allocations: 478.6 kB / 0.612 GB, free: 10.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.5508, allocations: 161.4 kB / 0.6121 GB, free: 10.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.5508, allocations: 29.7 kB / 0.6121 GB, free: 10.78 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.5509, allocations: 172.6 kB / 0.6123 GB, free: 10.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.5511, allocations: 134.9 kB / 0.6124 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.5512, allocations: 90.19 kB / 0.6125 GB, free: 10.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5514, allocations: 326.8 kB / 0.6128 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.5515, allocations: 69.08 kB / 0.6129 GB, free: 9.984 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.5519, allocations: 318.1 kB / 0.6132 GB, free: 9.555 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.5525, allocations: 440 kB / 0.6136 GB, free: 9.008 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.5525, allocations: 0 / 0.6136 GB, free: 9.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007805/0.5533, allocations: 408.7 kB / 0.614 GB, free: 8.602 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.5533, allocations: 8.969 kB / 0.614 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.5533, allocations: 8 kB / 0.614 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.5533, allocations: 16 kB / 0.614 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.5552, allocations: 343.5 kB / 0.6144 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007603/0.556, allocations: 1.188 MB / 0.6155 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.5562, allocations: 19.94 kB / 0.6155 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.5563, allocations: 36.17 kB / 0.6156 GB, free: 6.945 MB / 478.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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.5565, allocations: 157.6 kB / 0.6157 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.5565, allocations: 31.86 kB / 0.6158 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.5579, allocations: 0.9431 MB / 0.6167 GB, free: 5.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.5579, allocations: 7.984 kB / 0.6167 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.558, allocations: 4 kB / 0.6167 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.558, allocations: 0 / 0.6167 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.5596, allocations: 1.426 MB / 0.6181 GB, free: 4.191 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5596, allocations: 8.062 kB / 0.6181 GB, free: 4.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.5606, allocations: 135.9 kB / 0.6182 GB, free: 4.051 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5607, allocations: 11.94 kB / 0.6182 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.5607, allocations: 12 kB / 0.6182 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003523/0.561, allocations: 0.586 MB / 0.6188 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.5611, allocations: 4 kB / 0.6188 GB, free: 3.414 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007084/0.5618, allocations: 0.523 MB / 0.6193 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.5619, allocations: 104.8 kB / 0.6194 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/0.562, allocations: 59.48 kB / 0.6195 GB, free: 2.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.5622, allocations: 8 kB / 0.6195 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.5623, allocations: 27.91 kB / 0.6195 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.5623, allocations: 12 kB / 0.6195 GB, free: 2.621 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003129/0.5626, allocations: 275.1 kB / 0.6198 GB, free: 2.352 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5626, allocations: 4 kB / 0.6198 GB, free: 2.348 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001453/0.5641, allocations: 466.6 kB / 0.6202 GB, free: 1.891 MB / 478.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002759/0.5668, allocations: 1.656 MB / 0.6219 GB, free: 176 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.5684, allocations: 406.9 kB / 0.6222 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5684, allocations: 0 / 0.6222 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007787/0.5692, allocations: 223.6 kB / 0.6225 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.57, allocations: 122.7 kB / 0.6226 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.225/1.795, allocations: 0.54 GB / 1.163 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/1.795, allocations: 0.8273 MB / 1.163 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003559/1.796, allocations: 166 kB / 1.164 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/1.796, allocations: 159.4 kB / 1.164 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/1.796, allocations: 0 / 1.164 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3008/2.097, allocations: 20.19 MB / 1.183 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/14.84, allocations: 9.5 kB / 1.183 GB, free: 220.8 MB / 0.6075 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_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_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1)