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.001458/0.001459, 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.001457/0.001457, allocations: 198 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.434/1.434, allocations: 227.4 MB / 247 MB, free: 10.39 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.2186/0.2186, allocations: 46.13 MB / 344.4 MB, free: 11.41 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.002235/0.002235, allocations: 87.81 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3303, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01841/0.3487, allocations: 13.92 MB / 0.5442 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03459/0.3834, allocations: 26.6 MB / 0.5702 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.3837, allocations: 7.938 kB / 0.5702 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.3841, allocations: 95.39 kB / 0.5703 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02943/0.4136, allocations: 8.531 MB / 0.5786 GB, free: 412 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.4146, allocations: 345.4 kB / 0.579 GB, free: 72 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004877/0.4195, allocations: 2.006 MB / 0.5809 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.976e-05/0.4196, allocations: 28.31 kB / 0.581 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006005/0.4202, allocations: 274.9 kB / 0.5812 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007383/0.4276, allocations: 3.258 MB / 0.5844 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/0.4277, allocations: 12 kB / 0.5844 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02353/0.4513, allocations: 10.82 MB / 0.595 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.4514, allocations: 51.66 kB / 0.595 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.4517, allocations: 139.3 kB / 0.5952 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01822/0.4699, allocations: 6.333 MB / 0.6014 GB, free: 9.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.47, allocations: 0 / 0.6014 GB, free: 9.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.47, allocations: 4 kB / 0.6014 GB, free: 9.043 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.47, allocations: 0 / 0.6014 GB, free: 9.043 MB / 462.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.005642/0.4757, allocations: 1.612 MB / 0.6029 GB, free: 7.375 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4757, allocations: 8.031 kB / 0.6029 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.151e-05/0.4758, allocations: 70.72 kB / 0.603 GB, free: 7.289 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.4776, allocations: 224.5 kB / 0.6032 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.478, allocations: 279.9 kB / 0.6035 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.4781, allocations: 21.03 kB / 0.6035 GB, free: 6.738 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.4781, allocations: 35.94 kB / 0.6035 GB, free: 6.703 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.4806, allocations: 0.821 MB / 0.6043 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4806, allocations: 0 / 0.6043 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.4807, allocations: 12 kB / 0.6044 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4807, allocations: 11.94 kB / 0.6044 GB, free: 5.816 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.4832, allocations: 0.9386 MB / 0.6053 GB, free: 4.875 MB / 462.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.003466/0.4867, allocations: 2.578 MB / 0.6078 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.4882, allocations: 382.2 kB / 0.6082 GB, free: 1.703 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.4884, allocations: 76.81 kB / 0.6082 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.941/1.429, allocations: 241.3 MB / 0.8438 GB, free: 72.06 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/1.431, allocations: 480.8 kB / 0.8443 GB, free: 71.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/1.431, allocations: 0 / 0.8443 GB, free: 71.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002766/1.434, allocations: 0.7807 MB / 0.8451 GB, free: 70.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/1.434, allocations: 375.8 kB / 0.8454 GB, free: 70.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/1.434, allocations: 172.7 kB / 0.8456 GB, free: 70.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/1.434, allocations: 37.7 kB / 0.8456 GB, free: 70.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/1.434, allocations: 192.1 kB / 0.8458 GB, free: 69.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/1.434, allocations: 118.9 kB / 0.8459 GB, free: 69.83 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.434, allocations: 126.2 kB / 0.846 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/1.434, allocations: 337.1 kB / 0.8464 GB, free: 69.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/1.434, allocations: 81.94 kB / 0.8464 GB, free: 69.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/1.435, allocations: 344.5 kB / 0.8468 GB, free: 68.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/1.435, allocations: 480.4 kB / 0.8472 GB, free: 68.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.435, allocations: 0 / 0.8472 GB, free: 68.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007758/1.436, allocations: 485.1 kB / 0.8477 GB, free: 67.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.436, allocations: 8 kB / 0.8477 GB, free: 67.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.436, allocations: 8 kB / 0.8477 GB, free: 67.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.436, allocations: 15.94 kB / 0.8477 GB, free: 67.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/1.436, allocations: 141.8 kB / 0.8479 GB, free: 67.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/1.436, allocations: 15.94 kB / 0.8479 GB, free: 67.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/1.437, allocations: 52.72 kB / 0.8479 GB, free: 67.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/1.437, allocations: 47.98 kB / 0.848 GB, free: 67.48 MB / 0.5762 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.0001379/1.437, allocations: 164.5 kB / 0.8481 GB, free: 67.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/1.437, allocations: 31.86 kB / 0.8482 GB, free: 67.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/1.439, allocations: 2.596 MB / 0.8507 GB, free: 64.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.439, allocations: 20.34 kB / 0.8507 GB, free: 64.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.439, allocations: 8 kB / 0.8507 GB, free: 64.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.439, allocations: 4 kB / 0.8507 GB, free: 64.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006346/1.44, allocations: 0.9382 MB / 0.8516 GB, free: 63.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.44, allocations: 4 kB / 0.8516 GB, free: 63.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/1.44, allocations: 71.86 kB / 0.8517 GB, free: 63.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/1.44, allocations: 11.78 kB / 0.8517 GB, free: 63.65 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/1.44, allocations: 15.94 kB / 0.8517 GB, free: 63.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.44, allocations: 4 kB / 0.8517 GB, free: 63.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.44, allocations: 7.938 kB / 0.8517 GB, free: 63.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/1.441, allocations: 0.7087 MB / 0.8524 GB, free: 62.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/1.441, allocations: 132.6 kB / 0.8526 GB, free: 62.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.441, allocations: 114.9 kB / 0.8527 GB, free: 62.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/1.441, allocations: 19.97 kB / 0.8527 GB, free: 62.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/1.441, allocations: 31.53 kB / 0.8527 GB, free: 62.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/1.441, allocations: 16 kB / 0.8527 GB, free: 62.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004456/1.442, allocations: 0.5001 MB / 0.8532 GB, free: 62.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.442, allocations: 0 / 0.8532 GB, free: 62.03 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003395/1.445, allocations: 1.532 MB / 0.8547 GB, free: 60.5 MB / 0.5762 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.007142/1.452, allocations: 2.895 MB / 0.8575 GB, free: 57.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008084/1.453, allocations: 419 kB / 0.8579 GB, free: 57.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/1.453, allocations: 0 / 0.8579 GB, free: 57.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/1.453, allocations: 282 kB / 0.8582 GB, free: 57.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008301/1.454, allocations: 133.8 kB / 0.8583 GB, free: 56.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.521/2.975, allocations: 0.6073 GB / 1.466 GB, free: 201.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/2.976, allocations: 0.9817 MB / 1.467 GB, free: 200.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006137/2.976, allocations: 0.526 MB / 1.467 GB, free: 199.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/2.977, allocations: 339.3 kB / 1.467 GB, free: 199.3 MB / 0.6231 GB Notification: Performance of SimCode: time 8.72e-07/2.977, allocations: 0 / 1.467 GB, free: 199.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08855/3.065, allocations: 63.5 MB / 1.529 GB, free: 136 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/16.19, allocations: 14.38 kB / 1.529 GB, free: 135.9 MB / 0.6231 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)