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.0007862/0.0007865, allocations: 86.02 kB / 15.06 MB, free: 1.09 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.000936/0.000936, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.309/0.309, allocations: 38.04 MB / 308.4 MB, free: 10.4 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.0005803/0.0005804, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.13, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01616/0.1462, allocations: 12.8 MB / 446.8 MB, free: 8.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2361/0.3824, allocations: 24.59 MB / 471.4 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003104/0.3828, allocations: 0 / 471.4 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.3832, allocations: 70.19 kB / 471.4 MB, free: 33.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01988/0.4031, allocations: 6.565 MB / 478 MB, free: 31.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.4042, allocations: 304.2 kB / 478.3 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005263/0.4095, allocations: 3.205 MB / 481.5 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.4096, allocations: 21.55 kB / 481.5 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.4101, allocations: 248.3 kB / 481.8 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007503/0.4176, allocations: 5.671 MB / 487.4 MB, free: 30.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/0.4177, allocations: 8.906 kB / 487.4 MB, free: 30.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02045/0.4382, allocations: 10.35 MB / 497.8 MB, free: 28.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.4383, allocations: 50.41 kB / 497.8 MB, free: 28.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.4385, allocations: 75.28 kB / 497.9 MB, free: 28.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.4488, allocations: 4.216 MB / 0.4904 GB, free: 27.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4488, allocations: 0.5156 kB / 0.4904 GB, free: 27.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4488, allocations: 0 / 0.4904 GB, free: 27.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.4488, allocations: 5.188 kB / 0.4904 GB, free: 27.48 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.00786/0.4567, allocations: 1.489 MB / 0.4918 GB, free: 26.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4568, allocations: 8.812 kB / 0.4918 GB, free: 26.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.4584, allocations: 224.7 kB / 0.492 GB, free: 26.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.4588, allocations: 278.4 kB / 0.4923 GB, free: 26.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.4588, allocations: 26.09 kB / 0.4923 GB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.4589, allocations: 27.78 kB / 0.4924 GB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.4611, allocations: 0.8335 MB / 0.4932 GB, free: 25.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.4611, allocations: 4.812 kB / 0.4932 GB, free: 25.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.4612, allocations: 15.88 kB / 0.4932 GB, free: 25.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.4612, allocations: 9.094 kB / 0.4932 GB, free: 25.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.4634, allocations: 0.9406 MB / 0.4941 GB, free: 25.73 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.002688/0.4661, allocations: 2.582 MB / 0.4966 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.4673, allocations: 388.5 kB / 0.497 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.4675, allocations: 76.67 kB / 0.4971 GB, free: 23.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7875/1.255, allocations: 227.1 MB / 0.7188 GB, free: 89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/1.256, allocations: 475 kB / 0.7193 GB, free: 88.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 4.839e-06/1.256, allocations: 3.938 kB / 0.7193 GB, free: 88.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.002925/1.259, allocations: 0.7778 MB / 0.7201 GB, free: 87.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/1.26, allocations: 376.6 kB / 0.7204 GB, free: 87.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/1.26, allocations: 187.5 kB / 0.7206 GB, free: 87.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/1.26, allocations: 33.7 kB / 0.7206 GB, free: 87.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/1.26, allocations: 192.8 kB / 0.7208 GB, free: 86.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/1.26, allocations: 101.8 kB / 0.7209 GB, free: 86.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/1.26, allocations: 12 kB / 0.7209 GB, free: 86.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/1.26, allocations: 330.8 kB / 0.7212 GB, free: 86.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/1.26, allocations: 84.91 kB / 0.7213 GB, free: 86.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/1.26, allocations: 339.4 kB / 0.7216 GB, free: 85.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/1.261, allocations: 131.5 kB / 0.7218 GB, free: 85.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.261, allocations: 8 kB / 0.7218 GB, free: 85.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007532/1.261, allocations: 465.3 kB / 0.7222 GB, free: 85.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.262, allocations: 12.91 kB / 0.7222 GB, free: 85.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.262, allocations: 8 kB / 0.7222 GB, free: 85.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/1.262, allocations: 16 kB / 0.7223 GB, free: 85.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/1.262, allocations: 139.8 kB / 0.7224 GB, free: 85.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/1.262, allocations: 15.94 kB / 0.7224 GB, free: 85.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/1.262, allocations: 57.41 kB / 0.7225 GB, free: 85.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/1.262, allocations: 43.98 kB / 0.7225 GB, free: 85.04 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001649/1.263, allocations: 161.6 kB / 0.7227 GB, free: 84.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/1.263, allocations: 31.67 kB / 0.7227 GB, free: 84.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/1.265, allocations: 2.66 MB / 0.7253 GB, free: 82.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/1.265, allocations: 15.98 kB / 0.7253 GB, free: 82.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/1.265, allocations: 4 kB / 0.7253 GB, free: 82.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/1.265, allocations: 11.64 kB / 0.7253 GB, free: 82.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009748/1.266, allocations: 0.9263 MB / 0.7262 GB, free: 81.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.266, allocations: 4 kB / 0.7262 GB, free: 81.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/1.266, allocations: 82.36 kB / 0.7263 GB, free: 81.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/1.266, allocations: 7.953 kB / 0.7263 GB, free: 81.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/1.266, allocations: 12 kB / 0.7263 GB, free: 81.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.266, allocations: 4 kB / 0.7263 GB, free: 81.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.266, allocations: 15.92 kB / 0.7263 GB, free: 81.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/1.267, allocations: 0.6853 MB / 0.727 GB, free: 80.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/1.267, allocations: 378.8 kB / 0.7274 GB, free: 79.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.268, allocations: 11.95 kB / 0.7274 GB, free: 79.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/1.268, allocations: 23.98 kB / 0.7274 GB, free: 79.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/1.268, allocations: 31.95 kB / 0.7274 GB, free: 79.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/1.268, allocations: 16 kB / 0.7274 GB, free: 79.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004716/1.268, allocations: 0.4922 MB / 0.7279 GB, free: 79.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.51e-07/1.269, allocations: 4 kB / 0.7279 GB, free: 79.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008639/1.277, allocations: 1.527 MB / 0.7294 GB, free: 77.93 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01499/1.292, allocations: 1.713 MB / 0.7311 GB, free: 76.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/1.293, allocations: 404.8 kB / 0.7315 GB, free: 75.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.293, allocations: 0 / 0.7315 GB, free: 75.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004062/1.294, allocations: 284.7 kB / 0.7318 GB, free: 75.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.295, allocations: 132.1 kB / 0.7319 GB, free: 75.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.403/2.697, allocations: 0.5996 GB / 1.331 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/2.698, allocations: 0.9858 MB / 1.332 GB, free: 12.97 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008139/2.699, allocations: 0.5182 MB / 1.333 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/2.699, allocations: 59.41 kB / 1.333 GB, free: 12.41 MB / 494.1 MB Notification: Performance of SimCode: time 1.183e-06/2.699, allocations: 3.844 kB / 1.333 GB, free: 12.41 MB / 494.1 MB Notification: Performance of Templates: time 0.2948/2.994, allocations: 56.21 MB / 1.388 GB, free: 131.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: