Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 84.38 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.001671/0.001671, 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.581/1.581, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0005261/0.0005262, allocations: 8 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2835, allocations: 47.6 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03875/0.3223, allocations: 30.1 MB / 356.6 MB, free: 5.305 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02004/0.3424, allocations: 14.63 MB / 371.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.3431, allocations: 4 kB / 371.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009589/0.344, allocations: 214.8 kB / 371.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.3452, allocations: 330.2 kB / 371.8 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01843/0.3637, allocations: 4.449 MB / 376.2 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.3657, allocations: 1.196 MB / 377.4 MB, free: 448 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.366, allocations: 81.02 kB / 377.5 MB, free: 364 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008935/0.375, allocations: 3.297 MB / 380.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008352/0.3759, allocations: 294.8 kB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.376, allocations: 16 kB / 381.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008854/0.3849, allocations: 3.356 MB / 384.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.3852, allocations: 79.7 kB / 384.5 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.3855, allocations: 105.5 kB / 384.6 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.3904, allocations: 1.641 MB / 386.3 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.3904, allocations: 4 kB / 386.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.3904, allocations: 0 / 386.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.629e-05/0.3905, allocations: 0 / 386.3 MB, free: 7.555 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00229/0.3928, allocations: 0.7407 MB / 387 MB, free: 6.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.3928, allocations: 8.031 kB / 387 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.3938, allocations: 91.47 kB / 387.1 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.3944, allocations: 290.5 kB / 387.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.3944, allocations: 24.61 kB / 387.4 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.3945, allocations: 32 kB / 387.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3955, allocations: 438.2 kB / 387.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.3955, allocations: 7.938 kB / 387.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.3956, allocations: 16 kB / 387.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.3956, allocations: 15.92 kB / 387.9 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007313/0.3964, allocations: 313.9 kB / 388.2 MB, free: 5.465 MB / 318.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.003326/0.3997, allocations: 2.625 MB / 390.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.4003, allocations: 254.5 kB / 391.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.4005, allocations: 100.8 kB / 391.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0325/0.433, allocations: 15.6 MB / 406.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/0.4331, allocations: 38.56 kB / 406.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 3.005e-06/0.4332, allocations: 0 / 406.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.005052/0.4382, allocations: 1.32 MB / 408.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.4383, allocations: 51.41 kB / 408.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.4386, allocations: 258.6 kB / 408.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.4387, allocations: 33.7 kB / 408.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4388, allocations: 203.8 kB / 408.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.8e-05/0.4389, allocations: 110.5 kB / 408.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.439, allocations: 4 kB / 408.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4391, allocations: 338.8 kB / 409.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.4393, allocations: 100.8 kB / 409.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.4396, allocations: 218.9 kB / 409.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.4399, allocations: 139.9 kB / 409.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4399, allocations: 4 kB / 409.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008915/0.4408, allocations: 434.6 kB / 410 MB, free: 13.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.4408, allocations: 4.5 kB / 410 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.4409, allocations: 4 kB / 410 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/0.4437, allocations: 269.4 kB / 410.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.444, allocations: 75.91 kB / 410.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.4457, allocations: 1.883 MB / 412.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.4462, allocations: 32.11 kB / 412.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.4462, allocations: 16 kB / 412.3 MB, free: 11 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.4465, allocations: 157.7 kB / 412.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.4466, allocations: 31.62 kB / 412.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.448, allocations: 0.9594 MB / 413.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.448, allocations: 7.984 kB / 413.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.4481, allocations: 0 / 413.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/0.4492, allocations: 1.119 MB / 414.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.4513, allocations: 1.584 MB / 416.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4513, allocations: 0 / 416.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.4515, allocations: 47.98 kB / 416.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.4531, allocations: 295.8 kB / 416.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.4532, allocations: 15.92 kB / 416.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005837/0.4538, allocations: 0.6616 MB / 417.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.4538, allocations: 7.984 kB / 417.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.4551, allocations: 0.9606 MB / 418.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.4554, allocations: 132.4 kB / 418.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.4555, allocations: 12 kB / 418.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.4557, allocations: 23.86 kB / 418.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.4558, allocations: 15.97 kB / 418.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.4558, allocations: 16.06 kB / 418.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003688/0.4562, allocations: 239 kB / 418.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4562, allocations: 0 / 418.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002084/0.4583, allocations: 499.8 kB / 419 MB, free: 3.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002882/0.4612, allocations: 0.5108 MB / 419.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.4624, allocations: 0.5149 MB / 420.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.4625, allocations: 4 kB / 420.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.463, allocations: 300.3 kB / 420.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4641, allocations: 184.9 kB / 420.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.4665, allocations: 1.214 MB / 421.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.4672, allocations: 0.8244 MB / 422.6 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004728/0.4677, allocations: 119.1 kB / 422.7 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.4679, allocations: 31.44 kB / 422.7 MB, free: 228 kB / 350.1 MB Notification: Performance of SimCode: time 1.392e-06/0.4679, allocations: 0 / 422.7 MB, free: 228 kB / 350.1 MB Notification: Performance of Templates: time 0.03534/0.5032, allocations: 18.55 MB / 441.3 MB, free: 13.64 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)