Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_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.001316/0.001316, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 208.6 kB / 18.58 MB, free: 4.578 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 / 246.8 MB, free: 10.6 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.227/0.227, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002247/0.002247, allocations: 74.94 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1169, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01764/0.1346, allocations: 13.93 MB / 494.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2366/0.3712, allocations: 26.59 MB / 0.5085 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.3715, allocations: 1.531 kB / 0.5085 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.3719, allocations: 90.09 kB / 0.5086 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0235/0.3954, allocations: 8.557 MB / 0.517 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3965, allocations: 345.3 kB / 0.5173 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00438/0.4008, allocations: 2.003 MB / 0.5192 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.565e-05/0.4009, allocations: 22.81 kB / 0.5193 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004416/0.4014, allocations: 265.9 kB / 0.5195 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006551/0.4079, allocations: 3.262 MB / 0.5227 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.408, allocations: 11.25 kB / 0.5227 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02396/0.432, allocations: 10.58 MB / 0.533 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.4321, allocations: 46.98 kB / 0.5331 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.4324, allocations: 141.2 kB / 0.5332 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.4479, allocations: 6.335 MB / 0.5394 GB, free: 1.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4479, allocations: 1.875 kB / 0.5394 GB, free: 1.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4479, allocations: 0 / 0.5394 GB, free: 1.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.4479, allocations: 4 kB / 0.5394 GB, free: 1.711 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.003948/0.4519, allocations: 1.564 MB / 0.5409 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.4519, allocations: 13.22 kB / 0.541 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.521e-05/0.452, allocations: 68.38 kB / 0.541 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.4536, allocations: 219 kB / 0.5412 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.4538, allocations: 275.9 kB / 0.5415 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.4538, allocations: 21.22 kB / 0.5415 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.4539, allocations: 35.94 kB / 0.5416 GB, free: 0 / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.4563, allocations: 0.821 MB / 0.5424 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4563, allocations: 0 / 0.5424 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.4564, allocations: 19.98 kB / 0.5424 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.4564, allocations: 8 kB / 0.5424 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.459, allocations: 0.9347 MB / 0.5433 GB, free: 14.17 MB / 398.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.003435/0.4624, allocations: 2.583 MB / 0.5458 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.4639, allocations: 374.2 kB / 0.5462 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.4641, allocations: 80.84 kB / 0.5462 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9445/1.409, allocations: 238.7 MB / 0.7794 GB, free: 173 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001574/1.41, allocations: 475.7 kB / 0.7798 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.587e-06/1.41, allocations: 4 kB / 0.7798 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002936/1.413, allocations: 0.7791 MB / 0.7806 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/1.413, allocations: 375.9 kB / 0.7809 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/1.413, allocations: 189.2 kB / 0.7811 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/1.413, allocations: 29.7 kB / 0.7811 GB, free: 171 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/1.414, allocations: 177.2 kB / 0.7813 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/1.414, allocations: 114.3 kB / 0.7814 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/1.414, allocations: 126.1 kB / 0.7815 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.772e-05/1.414, allocations: 334.6 kB / 0.7819 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.414, allocations: 81.06 kB / 0.7819 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/1.414, allocations: 348.7 kB / 0.7823 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/1.415, allocations: 488.1 kB / 0.7827 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/1.415, allocations: 0 / 0.7827 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008815/1.416, allocations: 473.3 kB / 0.7832 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.416, allocations: 11 kB / 0.7832 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/1.416, allocations: 8 kB / 0.7832 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/1.416, allocations: 12 kB / 0.7832 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/1.416, allocations: 139.8 kB / 0.7834 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/1.416, allocations: 23.92 kB / 0.7834 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/1.417, allocations: 55.27 kB / 0.7834 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/1.417, allocations: 44.27 kB / 0.7835 GB, free: 168.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001519/1.417, allocations: 170.4 kB / 0.7836 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/1.417, allocations: 27.72 kB / 0.7837 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/1.419, allocations: 2.605 MB / 0.7862 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/1.419, allocations: 15.98 kB / 0.7862 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/1.419, allocations: 4 kB / 0.7862 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.419, allocations: 7.984 kB / 0.7862 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008892/1.42, allocations: 0.9354 MB / 0.7871 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.42, allocations: 4 kB / 0.7871 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/1.42, allocations: 76.23 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/1.42, allocations: 4 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/1.42, allocations: 16 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/1.42, allocations: 7.984 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.42, allocations: 4 kB / 0.7872 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008663/1.421, allocations: 0.6976 MB / 0.7879 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/1.421, allocations: 128.5 kB / 0.7881 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/1.422, allocations: 106.5 kB / 0.7882 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/1.422, allocations: 15.98 kB / 0.7882 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/1.422, allocations: 27.91 kB / 0.7882 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/1.422, allocations: 27.92 kB / 0.7882 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004966/1.423, allocations: 0.5001 MB / 0.7887 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.423, allocations: 3.844 kB / 0.7887 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004148/1.427, allocations: 1.514 MB / 0.7902 GB, free: 161.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.008288/1.435, allocations: 2.879 MB / 0.793 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009358/1.436, allocations: 431.9 kB / 0.7934 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.436, allocations: 0.8125 kB / 0.7934 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/1.436, allocations: 276.7 kB / 0.7937 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009047/1.437, allocations: 132.5 kB / 0.7938 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.333/2.77, allocations: 0.6072 GB / 1.401 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/2.77, allocations: 0.9817 MB / 1.402 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007838/2.771, allocations: 0.5213 MB / 1.402 GB, free: 133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/2.772, allocations: 339.3 kB / 1.403 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.223e-06/2.772, allocations: 2.906 kB / 1.403 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/2.873, allocations: 63.58 MB / 1.465 GB, free: 69.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/14.81, allocations: 19.77 kB / 1.465 GB, free: 69.17 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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_WaterIF97_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1)