Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.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) 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_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001514/0.001514, allocations: 172.7 kB / 15.95 MB, free: 208 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.48/1.48, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.0005184/0.0005187, allocations: 8 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2528, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03857/0.2914, allocations: 30.12 MB / 356.6 MB, free: 5.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01922/0.3106, allocations: 14.63 MB / 371.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.3113, allocations: 4 kB / 371.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.3124, allocations: 210.8 kB / 371.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.3135, allocations: 334.2 kB / 371.8 MB, free: 6.152 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01549/0.329, allocations: 4.453 MB / 376.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.331, allocations: 1.204 MB / 377.4 MB, free: 488 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.3313, allocations: 89.02 kB / 377.5 MB, free: 396 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006861/0.3381, allocations: 3.309 MB / 380.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006418/0.3388, allocations: 294.8 kB / 381.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.607e-05/0.3389, allocations: 20 kB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01221/0.3511, allocations: 5.81 MB / 386.9 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.3514, allocations: 83.7 kB / 387 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.3517, allocations: 105.6 kB / 387.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.3567, allocations: 2.576 MB / 389.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3568, allocations: 0 / 389.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.067e-06/0.3568, allocations: 0 / 389.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.3568, allocations: 3.938 kB / 389.7 MB, free: 4.172 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.002743/0.3596, allocations: 0.9552 MB / 390.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3596, allocations: 8.031 kB / 390.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.361, allocations: 159.4 kB / 390.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.3615, allocations: 314.4 kB / 391.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.3615, allocations: 32.61 kB / 391.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.28e-05/0.3616, allocations: 32 kB / 391.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.3631, allocations: 0.5659 MB / 391.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3631, allocations: 4 kB / 391.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.3632, allocations: 16 kB / 391.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3632, allocations: 8 kB / 391.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.3647, allocations: 0.5368 MB / 392.3 MB, free: 1.422 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.003243/0.368, allocations: 2.627 MB / 395 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.3694, allocations: 478.3 kB / 395.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.3699, allocations: 176.8 kB / 395.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008154/0.3707, allocations: 0.5641 MB / 396.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3707, allocations: 30.56 kB / 396.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.3707, allocations: 0 / 396.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004695/0.3754, allocations: 1.609 MB / 397.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.3755, allocations: 55.34 kB / 397.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.3758, allocations: 252.9 kB / 398.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.3759, allocations: 29.7 kB / 398.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.376, allocations: 180.2 kB / 398.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3761, allocations: 114.4 kB / 398.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.3761, allocations: 8 kB / 398.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3763, allocations: 350.7 kB / 398.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.3767, allocations: 140.8 kB / 398.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.3771, allocations: 251.4 kB / 399.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.3775, allocations: 167.9 kB / 399.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3775, allocations: 0 / 399.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00125/0.3788, allocations: 0.5423 MB / 399.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3788, allocations: 8 kB / 399.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3788, allocations: 3.984 kB / 399.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.3794, allocations: 118.8 kB / 400 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.3797, allocations: 91.88 kB / 400.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.3817, allocations: 2.416 MB / 402.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.3821, allocations: 56.19 kB / 402.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.3821, allocations: 16 kB / 402.6 MB, free: 6.453 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.3823, allocations: 173.6 kB / 402.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.3824, allocations: 31.62 kB / 402.8 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.3844, allocations: 1.359 MB / 404.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.3844, allocations: 19.97 kB / 404.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3844, allocations: 0 / 404.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001847/0.3863, allocations: 1.464 MB / 405.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.3889, allocations: 2.143 MB / 407.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3889, allocations: 0 / 407.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.3893, allocations: 111.8 kB / 407.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003316/0.3896, allocations: 72.78 kB / 407.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.3897, allocations: 11.95 kB / 407.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003779/0.3901, allocations: 0.5914 MB / 408.5 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3901, allocations: 0 / 408.5 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.3919, allocations: 1.313 MB / 409.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.392, allocations: 164.2 kB / 410 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.3921, allocations: 16 kB / 410 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.3924, allocations: 47.88 kB / 410.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.3925, allocations: 35.94 kB / 410.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.3925, allocations: 12 kB / 410.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.3928, allocations: 231 kB / 410.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3928, allocations: 4 kB / 410.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002481/0.3953, allocations: 0.8551 MB / 411.2 MB, free: 13.56 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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004019/0.3993, allocations: 0.9672 MB / 412.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.4007, allocations: 0.6672 MB / 412.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4007, allocations: 0 / 412.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007381/0.4014, allocations: 424.7 kB / 413.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.4026, allocations: 196.8 kB / 413.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.4051, allocations: 1.55 MB / 415 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.4055, allocations: 0.8727 MB / 415.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004459/0.406, allocations: 153.6 kB / 416 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.555e-05/0.4061, allocations: 39.44 kB / 416 MB, free: 8.641 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4061, allocations: 0 / 416 MB, free: 8.641 MB / 350.1 MB Notification: Performance of Templates: time 0.05277/0.4589, allocations: 35.6 MB / 451.6 MB, free: 4.984 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)