Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001072/0.001072, allocations: 87.23 kB / 16.31 MB, free: 6.457 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.001254/0.001254, allocations: 183.3 kB / 17.21 MB, free: 6.328 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.442/1.442, allocations: 205.4 MB / 223.4 MB, free: 5.789 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.0004656/0.0004659, allocations: 12 kB / 280.1 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2712, allocations: 47.6 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03385/0.3052, allocations: 30.1 MB / 357.8 MB, free: 5.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01887/0.3241, allocations: 14.64 MB / 372.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005424/0.3247, allocations: 0 / 372.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008206/0.3255, allocations: 210.8 kB / 372.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008643/0.3264, allocations: 338.2 kB / 373 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01468/0.3411, allocations: 4.457 MB / 377.5 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.3429, allocations: 1.204 MB / 378.7 MB, free: 480 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.3432, allocations: 85.02 kB / 378.8 MB, free: 392 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006901/0.3502, allocations: 3.321 MB / 382.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000786/0.351, allocations: 298.9 kB / 382.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.3511, allocations: 16 kB / 382.4 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.3633, allocations: 5.802 MB / 388.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.3635, allocations: 87.7 kB / 388.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.3637, allocations: 105.5 kB / 388.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005036/0.3688, allocations: 2.58 MB / 391 MB, free: 4.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3688, allocations: 0 / 391 MB, free: 4.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3688, allocations: 0 / 391 MB, free: 4.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.3688, allocations: 4 kB / 391 MB, free: 4.16 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.002902/0.3718, allocations: 0.9474 MB / 391.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3718, allocations: 8.031 kB / 391.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.3732, allocations: 163.4 kB / 392.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.3738, allocations: 306.5 kB / 392.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.3738, allocations: 36.61 kB / 392.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.3739, allocations: 28 kB / 392.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.3755, allocations: 0.5737 MB / 393 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.3755, allocations: 3.938 kB / 393 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.3756, allocations: 19.98 kB / 393 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3756, allocations: 8 kB / 393.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.3771, allocations: 0.529 MB / 393.6 MB, free: 1.418 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.003347/0.3805, allocations: 2.627 MB / 396.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.3819, allocations: 478.3 kB / 396.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.3823, allocations: 185 kB / 396.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007631/0.3831, allocations: 0.5599 MB / 397.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3831, allocations: 46.48 kB / 397.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/0.3832, allocations: 0 / 397.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.00464/0.3878, allocations: 1.59 MB / 399 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3879, allocations: 55.41 kB / 399.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.3881, allocations: 248.9 kB / 399.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.3882, allocations: 33.7 kB / 399.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3883, allocations: 184.1 kB / 399.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.596e-05/0.3884, allocations: 114.4 kB / 399.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.3884, allocations: 15.94 kB / 399.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3886, allocations: 338.8 kB / 400 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.3889, allocations: 152.8 kB / 400.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.3894, allocations: 247.4 kB / 400.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.3898, allocations: 168 kB / 400.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3898, allocations: 4 kB / 400.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001197/0.391, allocations: 0.5307 MB / 401.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.391, allocations: 8 kB / 401.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.391, allocations: 8 kB / 401.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004594/0.3915, allocations: 118.7 kB / 401.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.3919, allocations: 91.89 kB / 401.3 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/0.3937, allocations: 2.42 MB / 403.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.3941, allocations: 52.02 kB / 403.8 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.3941, allocations: 20 kB / 403.8 MB, free: 6.441 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.0002027/0.3943, allocations: 161.7 kB / 404 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.3944, allocations: 31.62 kB / 404 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.3963, allocations: 1.371 MB / 405.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.3964, allocations: 15.97 kB / 405.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3964, allocations: 0 / 405.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00165/0.398, allocations: 1.468 MB / 406.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.4007, allocations: 2.132 MB / 409 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.4007, allocations: 0 / 409 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.4011, allocations: 107.9 kB / 409.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003404/0.4014, allocations: 76.78 kB / 409.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.4015, allocations: 15.95 kB / 409.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003632/0.4018, allocations: 0.5874 MB / 409.8 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4018, allocations: 0 / 409.8 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.4037, allocations: 1.317 MB / 411.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.4038, allocations: 168.1 kB / 411.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.4039, allocations: 8 kB / 411.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.4042, allocations: 43.94 kB / 411.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.4043, allocations: 35.94 kB / 411.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.4043, allocations: 16 kB / 411.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.4046, allocations: 235 kB / 411.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4046, allocations: 0 / 411.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003256/0.4078, allocations: 0.859 MB / 412.4 MB, free: 13.55 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.004937/0.4128, allocations: 0.9633 MB / 413.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.4143, allocations: 0.6711 MB / 414.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.4144, allocations: 3.984 kB / 414.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008102/0.4152, allocations: 420.7 kB / 414.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.4165, allocations: 196.8 kB / 414.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.4188, allocations: 1.553 MB / 416.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.4193, allocations: 0.8766 MB / 417.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004634/0.4197, allocations: 151 kB / 417.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.712e-05/0.4198, allocations: 35.42 kB / 417.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4199, allocations: 0 / 417.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of Templates: time 0.05441/0.4743, allocations: 35.59 MB / 452.9 MB, free: 4.988 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)