Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001067/0.001067, 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.001328/0.001329, 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.574/1.574, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0004718/0.0004719, allocations: 12 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2705, allocations: 47.6 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.03316/0.3037, allocations: 30.1 MB / 356.6 MB, free: 5.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01888/0.3226, allocations: 14.64 MB / 371.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000565/0.3233, allocations: 7.938 kB / 371.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.3241, allocations: 206.9 kB / 371.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000811/0.3249, allocations: 338.2 kB / 371.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01644/0.3414, allocations: 4.457 MB / 376.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002226/0.3436, allocations: 1.2 MB / 377.4 MB, free: 480 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.344, allocations: 81.03 kB / 377.5 MB, free: 396 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008443/0.3524, allocations: 3.317 MB / 380.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009096/0.3534, allocations: 298.9 kB / 381.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.3536, allocations: 16 kB / 381.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/0.368, allocations: 5.802 MB / 386.9 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.3683, allocations: 91.69 kB / 387 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.3686, allocations: 105.5 kB / 387.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006224/0.3749, allocations: 2.573 MB / 389.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.958e-06/0.3749, allocations: 0 / 389.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.428e-06/0.3749, allocations: 4 kB / 389.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.3749, allocations: 0 / 389.7 MB, free: 4.168 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.002789/0.3777, allocations: 0.9513 MB / 390.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3778, allocations: 8.031 kB / 390.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.3791, allocations: 163.4 kB / 390.8 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.3797, allocations: 302.5 kB / 391.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.3797, allocations: 36.61 kB / 391.2 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.3798, allocations: 35.92 kB / 391.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.3813, allocations: 0.5698 MB / 391.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.3814, allocations: 7.938 kB / 391.8 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.3814, allocations: 16 kB / 391.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.3815, allocations: 8 kB / 391.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.383, allocations: 0.529 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.003216/0.3862, allocations: 2.627 MB / 395 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.3877, allocations: 478.3 kB / 395.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.3881, allocations: 180.8 kB / 395.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009057/0.389, allocations: 0.5563 MB / 396.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.389, allocations: 46.5 kB / 396.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.389, allocations: 0 / 396.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.005086/0.3941, allocations: 1.601 MB / 397.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3942, allocations: 55.41 kB / 397.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.3946, allocations: 244.9 kB / 398.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.3947, allocations: 33.7 kB / 398.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.3949, allocations: 192.1 kB / 398.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.3951, allocations: 110.4 kB / 398.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.3951, allocations: 8 kB / 398.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3953, allocations: 338.8 kB / 398.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.3957, allocations: 148.8 kB / 398.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.3962, allocations: 255.4 kB / 399.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.3966, allocations: 171.9 kB / 399.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3967, allocations: 3.938 kB / 399.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001345/0.398, allocations: 0.5308 MB / 399.9 MB, free: 9.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.398, allocations: 4 kB / 399.9 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3981, allocations: 8 kB / 399.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.3986, allocations: 118.7 kB / 400 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.399, allocations: 91.89 kB / 400.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.4015, allocations: 2.42 MB / 402.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.4019, allocations: 52.17 kB / 402.5 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.402, allocations: 23.98 kB / 402.6 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.0002285/0.4022, allocations: 157.7 kB / 402.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.4023, allocations: 31.62 kB / 402.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.4046, allocations: 1.378 MB / 404.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.4046, allocations: 11.98 kB / 404.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4046, allocations: 0 / 404.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001781/0.4064, allocations: 1.468 MB / 405.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.4093, allocations: 2.136 MB / 407.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.4094, allocations: 0 / 407.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.4098, allocations: 111.8 kB / 407.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/0.4101, allocations: 72.8 kB / 407.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.4102, allocations: 19.94 kB / 407.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003686/0.4106, allocations: 0.5913 MB / 408.5 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.4106, allocations: 4.031 kB / 408.5 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.4125, allocations: 1.301 MB / 409.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.4127, allocations: 168.1 kB / 410 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.4128, allocations: 8 kB / 410 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.4131, allocations: 47.94 kB / 410.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4132, allocations: 35.94 kB / 410.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.4133, allocations: 19.92 kB / 410.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.4136, allocations: 231 kB / 410.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4136, allocations: 0 / 410.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00325/0.4168, allocations: 0.8551 MB / 411.2 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.005606/0.4224, allocations: 0.967 MB / 412.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.4241, allocations: 0.6753 MB / 412.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.4241, allocations: 0 / 412.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007153/0.4248, allocations: 416.7 kB / 413.2 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.00123/0.4261, 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.002423/0.4285, allocations: 1.558 MB / 415 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.429, allocations: 0.8727 MB / 415.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004734/0.4295, allocations: 149.6 kB / 416 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/0.4296, allocations: 39.36 kB / 416.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4296, allocations: 3.938 kB / 416.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of Templates: time 0.05379/0.4834, allocations: 35.58 MB / 451.6 MB, free: 4.984 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)