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.001044/0.001044, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001533/0.001533, allocations: 181.8 kB / 16.28 MB, free: 6.656 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.534/1.534, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.0004782/0.0004782, allocations: 8 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2626, allocations: 47.58 MB / 327.1 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03617/0.2988, allocations: 32.5 MB / 359.6 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01903/0.3179, allocations: 16.42 MB / 376 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.3183, allocations: 7.938 kB / 376 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000858/0.3192, allocations: 226.8 kB / 376.2 MB, free: 2.059 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007653/0.32, allocations: 362.2 kB / 376.6 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01615/0.3361, allocations: 4.673 MB / 381.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.3378, allocations: 1.438 MB / 382.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.338, allocations: 81.02 kB / 382.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/0.3424, allocations: 2.122 MB / 384.9 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.3429, allocations: 314.8 kB / 385.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.3429, allocations: 16 kB / 385.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.3542, allocations: 6.002 MB / 391.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.3544, allocations: 83.67 kB / 391.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.3548, allocations: 228.9 kB / 391.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007817/0.3626, allocations: 3.757 MB / 395.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3626, allocations: 0 / 395.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.3627, allocations: 0 / 395.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3627, allocations: 0 / 395.3 MB, free: 14.93 MB / 334.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.002547/0.3652, allocations: 0.9476 MB / 396.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.944e-05/0.3653, allocations: 16.03 kB / 396.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.3666, allocations: 160.3 kB / 396.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.367, allocations: 311.7 kB / 396.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.367, allocations: 37.03 kB / 396.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.3671, allocations: 28.38 kB / 396.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.3685, allocations: 0.5852 MB / 397.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3686, allocations: 0 / 397.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.3686, allocations: 16 kB / 397.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3686, allocations: 8 kB / 397.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.3702, allocations: 0.5329 MB / 397.9 MB, free: 12.18 MB / 334.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.003148/0.3734, allocations: 2.627 MB / 400.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.375, allocations: 470.3 kB / 401 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.3754, allocations: 184.7 kB / 401.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000801/0.3762, allocations: 0.5641 MB / 401.7 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3763, allocations: 39.06 kB / 401.8 MB, free: 7.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.3763, allocations: 0 / 401.8 MB, free: 7.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004908/0.3812, allocations: 1.593 MB / 403.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3812, allocations: 55.41 kB / 403.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.3815, allocations: 256.8 kB / 403.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.3816, allocations: 29.7 kB / 403.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3817, allocations: 188.1 kB / 403.9 MB, free: 5.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3818, allocations: 114.3 kB / 404 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.3819, allocations: 41.7 kB / 404 MB, free: 5.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.382, allocations: 346.7 kB / 404.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.3825, allocations: 152.8 kB / 404.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.3829, allocations: 247.4 kB / 404.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/0.3838, allocations: 418.8 kB / 405.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3839, allocations: 0 / 405.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001355/0.3852, allocations: 0.5269 MB / 405.7 MB, free: 3.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3853, allocations: 8.281 kB / 405.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3853, allocations: 11.94 kB / 405.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.3858, allocations: 110.5 kB / 405.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.3862, allocations: 99.88 kB / 405.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.3882, allocations: 2.42 MB / 408.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.3886, allocations: 60.08 kB / 408.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.3886, allocations: 16 kB / 408.4 MB, free: 0.8711 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 (fixedMassFlowRate.medium.phase,volume.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002181/0.3888, allocations: 158 kB / 408.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.3889, allocations: 31.66 kB / 408.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.3909, allocations: 1.37 MB / 410 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.391, allocations: 15.97 kB / 410 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.391, allocations: 0 / 410 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001886/0.3929, allocations: 1.464 MB / 411.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.3957, allocations: 2.143 MB / 413.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.3958, allocations: 0 / 413.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.3962, allocations: 103.9 kB / 413.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/0.3966, allocations: 84.7 kB / 413.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3966, allocations: 4 kB / 413.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003688/0.397, allocations: 0.5991 MB / 414.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.397, allocations: 0 / 414.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.3988, allocations: 1.309 MB / 415.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.399, allocations: 164.2 kB / 415.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.399, allocations: 8 kB / 415.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.3994, allocations: 55.81 kB / 415.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.3995, allocations: 35.89 kB / 415.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.3995, allocations: 11.98 kB / 415.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3997, allocations: 239 kB / 416.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3997, allocations: 0 / 416.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0026/0.4023, allocations: 0.8551 MB / 417 MB, free: 7.969 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003371/0.4057, allocations: 0.976 MB / 418 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.4071, allocations: 0.6738 MB / 418.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4071, allocations: 0 / 418.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006831/0.4078, allocations: 416.7 kB / 419.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.409, allocations: 184.9 kB / 419.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.4111, allocations: 1.583 MB / 420.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.4115, allocations: 0.8727 MB / 421.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003506/0.4119, allocations: 139 kB / 421.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.601e-05/0.412, allocations: 47.42 kB / 421.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.412, allocations: 0 / 421.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of Templates: time 0.2134/0.6254, allocations: 35.22 MB / 457.1 MB, free: 118.7 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)