Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002549/0.002549, allocations: 192.1 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3774/0.3774, allocations: 37.98 MB / 307.3 MB, free: 10.13 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 64.47 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1533, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02235/0.1757, allocations: 14.65 MB / 445.7 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3279/0.5037, allocations: 28.3 MB / 474 MB, free: 31.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.504, allocations: 0 / 474 MB, free: 31.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.5045, allocations: 84.11 kB / 474 MB, free: 31.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0276/0.5321, allocations: 6.816 MB / 480.9 MB, free: 29.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009874/0.5331, allocations: 319.1 kB / 481.2 MB, free: 28.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004232/0.5374, allocations: 2.041 MB / 483.2 MB, free: 28.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.527e-05/0.5374, allocations: 13.62 kB / 483.2 MB, free: 28.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004723/0.5379, allocations: 265.2 kB / 483.5 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006263/0.5442, allocations: 3.272 MB / 486.8 MB, free: 26.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.656e-05/0.5443, allocations: 6.5 kB / 486.8 MB, free: 26.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02442/0.5687, allocations: 10.71 MB / 497.5 MB, free: 23.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.569, allocations: 50.47 kB / 497.5 MB, free: 23.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.5694, allocations: 140.2 kB / 497.7 MB, free: 23.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03259/0.602, allocations: 6.337 MB / 0.4922 GB, free: 21.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.602, allocations: 0 / 0.4922 GB, free: 21.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.602, allocations: 4 kB / 0.4922 GB, free: 21.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.602, allocations: 0 / 0.4922 GB, free: 21.79 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.008201/0.6102, allocations: 1.551 MB / 0.4937 GB, free: 20.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.6103, allocations: 8.75 kB / 0.4937 GB, free: 20.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.6122, allocations: 222.3 kB / 0.4939 GB, free: 20.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.6125, allocations: 281.2 kB / 0.4942 GB, free: 20.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.6126, allocations: 26.14 kB / 0.4942 GB, free: 20.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.6126, allocations: 32.5 kB / 0.4942 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.615, allocations: 0.8206 MB / 0.4951 GB, free: 19.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6151, allocations: 1.25 kB / 0.4951 GB, free: 19.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.6151, allocations: 20.41 kB / 0.4951 GB, free: 19.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.6151, allocations: 7.344 kB / 0.4951 GB, free: 19.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.6176, allocations: 0.9344 MB / 0.496 GB, free: 19.32 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.003129/0.6207, allocations: 2.583 MB / 0.4985 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.6221, allocations: 380.2 kB / 0.4989 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.6223, allocations: 87.05 kB / 0.499 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9282/1.55, allocations: 224.9 MB / 0.7186 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/1.552, allocations: 485.4 kB / 0.7191 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.607e-06/1.552, allocations: 0 / 0.7191 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.00315/1.555, allocations: 0.7802 MB / 0.7198 GB, free: 119 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.556, allocations: 367.4 kB / 0.7202 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/1.556, allocations: 187.4 kB / 0.7203 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/1.556, allocations: 37.7 kB / 0.7204 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/1.556, allocations: 184.4 kB / 0.7206 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/1.556, allocations: 110.3 kB / 0.7207 GB, free: 118 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/1.556, allocations: 126.1 kB / 0.7208 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.693e-05/1.556, allocations: 337.9 kB / 0.7211 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/1.557, allocations: 81.06 kB / 0.7212 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/1.557, allocations: 345.6 kB / 0.7215 GB, free: 117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006244/1.558, allocations: 476.9 kB / 0.722 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/1.558, allocations: 8 kB / 0.722 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009198/1.559, allocations: 475.2 kB / 0.7224 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/1.559, allocations: 8 kB / 0.7224 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.559, allocations: 12 kB / 0.7224 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.559, allocations: 19.97 kB / 0.7225 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/1.559, allocations: 142.3 kB / 0.7226 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/1.559, allocations: 15.94 kB / 0.7226 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/1.56, allocations: 47.53 kB / 0.7227 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/1.56, allocations: 49.97 kB / 0.7227 GB, free: 115.8 MB / 0.4981 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.0001745/1.56, allocations: 160.4 kB / 0.7229 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/1.56, allocations: 27.8 kB / 0.7229 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/1.562, allocations: 2.608 MB / 0.7254 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/1.562, allocations: 19.97 kB / 0.7255 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.562, allocations: 4 kB / 0.7255 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.562, allocations: 4 kB / 0.7255 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/1.563, allocations: 0.9315 MB / 0.7264 GB, free: 112 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.563, allocations: 4 kB / 0.7264 GB, free: 112 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/1.564, allocations: 71.88 kB / 0.7264 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/1.564, allocations: 7.984 kB / 0.7265 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/1.564, allocations: 8 kB / 0.7265 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/1.564, allocations: 16 kB / 0.7265 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.564, allocations: 2.875 kB / 0.7265 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009447/1.565, allocations: 0.7004 MB / 0.7272 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.565, allocations: 128.4 kB / 0.7273 GB, free: 111 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/1.565, allocations: 114.5 kB / 0.7274 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/1.566, allocations: 21.42 kB / 0.7274 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/1.566, allocations: 35.83 kB / 0.7274 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/1.566, allocations: 12 kB / 0.7275 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006258/1.566, allocations: 0.504 MB / 0.728 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.566, allocations: 4 kB / 0.728 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009423/1.576, allocations: 1.506 MB / 0.7294 GB, free: 108.9 MB / 0.4981 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.01738/1.593, allocations: 1.722 MB / 0.7311 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001294/1.594, allocations: 408.8 kB / 0.7315 GB, free: 107 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.594, allocations: 0 / 0.7315 GB, free: 107 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004891/1.595, allocations: 290.6 kB / 0.7318 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/1.596, allocations: 143.2 kB / 0.7319 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.648/3.244, allocations: 0.6002 GB / 1.332 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/3.245, allocations: 0.9817 MB / 1.333 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008409/3.246, allocations: 0.5297 MB / 1.334 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/3.246, allocations: 59.41 kB / 1.334 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of SimCode: time 1.894e-06/3.246, allocations: 7.938 kB / 1.334 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.2915/3.537, allocations: 55.46 MB / 1.388 GB, free: 158.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1)