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.007712/0.007712, allocations: 103.7 kB / 15.73 MB, free: 6.047 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.001441/0.001441, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001279/0.001279, allocations: 50.89 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09626, allocations: 46.63 MB / 373.2 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03376/0.1301, allocations: 32.57 MB / 405.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.1484, allocations: 15.73 MB / 421.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005413/0.1491, allocations: 8 kB / 421.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.1501, allocations: 262.4 kB / 421.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.1512, allocations: 361.9 kB / 422.1 MB, free: 160 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01895/0.1702, allocations: 5.78 MB / 427.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.1716, allocations: 0.9933 MB / 428.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.1719, allocations: 113 kB / 429 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/0.177, allocations: 2.197 MB / 431.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006947/0.1777, allocations: 310.8 kB / 431.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.1779, allocations: 43.94 kB / 431.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/0.1895, allocations: 6.072 MB / 437.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.1897, allocations: 111.6 kB / 437.7 MB, free: 496 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.19, allocations: 231.2 kB / 438 MB, free: 264 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007262/0.1973, allocations: 3.774 MB / 441.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1973, allocations: 4 kB / 441.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1974, allocations: 0 / 441.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1974, allocations: 0 / 441.8 MB, free: 12.47 MB / 382.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.002105/0.1995, allocations: 1.018 MB / 442.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1995, allocations: 8.031 kB / 442.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.2008, allocations: 152.3 kB / 442.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.2013, allocations: 327.5 kB / 443.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.2013, allocations: 29.03 kB / 443.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.2014, allocations: 32.38 kB / 443.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.2028, allocations: 0.5541 MB / 443.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.2028, allocations: 0 / 443.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.2029, allocations: 12 kB / 443.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2029, allocations: 8 kB / 443.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.2043, allocations: 0.4977 MB / 444.4 MB, free: 9.723 MB / 382.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.00299/0.2073, allocations: 2.611 MB / 447 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.2088, allocations: 442.3 kB / 447.4 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.2093, allocations: 168.7 kB / 447.6 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007958/0.2101, allocations: 0.5563 MB / 448.1 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.2101, allocations: 38.56 kB / 448.2 MB, free: 5.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.865e-06/0.2101, allocations: 4 kB / 448.2 MB, free: 5.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004646/0.2148, allocations: 1.5 MB / 449.7 MB, free: 3.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.2148, allocations: 55.41 kB / 449.7 MB, free: 3.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.2151, allocations: 248.9 kB / 450 MB, free: 3.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.2151, allocations: 33.7 kB / 450 MB, free: 3.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.2153, allocations: 184.1 kB / 450.2 MB, free: 3.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.2154, allocations: 110.3 kB / 450.3 MB, free: 3.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2155, allocations: 78.12 kB / 450.4 MB, free: 3.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2157, allocations: 342.8 kB / 450.7 MB, free: 2.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.216, allocations: 140.8 kB / 450.9 MB, free: 2.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.2165, allocations: 239.4 kB / 451.1 MB, free: 2.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/0.2174, allocations: 394.8 kB / 451.5 MB, free: 2.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2174, allocations: 0 / 451.5 MB, free: 2.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001262/0.2187, allocations: 0.5073 MB / 452 MB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2187, allocations: 8 kB / 452 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2187, allocations: 3.938 kB / 452 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/0.2192, allocations: 102.5 kB / 452.1 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.2196, allocations: 96 kB / 452.2 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2011/0.4207, allocations: 2.496 MB / 454.7 MB, free: 73.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.4212, allocations: 31.38 kB / 454.7 MB, free: 73.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.4212, allocations: 16.5 kB / 454.7 MB, free: 73.02 MB / 382.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.0003175/0.4216, allocations: 163.8 kB / 454.9 MB, free: 72.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.4217, allocations: 28.73 kB / 454.9 MB, free: 72.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.4241, allocations: 1.321 MB / 456.2 MB, free: 72.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.4242, allocations: 18.81 kB / 456.3 MB, free: 72.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4242, allocations: 0.5625 kB / 456.3 MB, free: 72.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001692/0.4259, allocations: 1.428 MB / 457.7 MB, free: 72.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.4286, allocations: 2.099 MB / 459.8 MB, free: 71.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4286, allocations: 0.6875 kB / 459.8 MB, free: 71.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.429, allocations: 92.08 kB / 459.9 MB, free: 71.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/0.4294, allocations: 75.95 kB / 459.9 MB, free: 71.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.4294, allocations: 7.094 kB / 460 MB, free: 71.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002978/0.4297, allocations: 0.6005 MB / 460.6 MB, free: 70.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4297, allocations: 0 / 460.6 MB, free: 70.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.4319, allocations: 1.279 MB / 461.8 MB, free: 69.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.432, allocations: 128.7 kB / 462 MB, free: 69.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.4321, allocations: 20.09 kB / 462 MB, free: 69.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.4323, allocations: 24.64 kB / 462 MB, free: 69.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.4325, allocations: 32.88 kB / 462 MB, free: 69.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.4325, allocations: 15.47 kB / 462 MB, free: 69.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003311/0.4329, allocations: 235.9 kB / 462.3 MB, free: 69.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4329, allocations: 1.094 kB / 462.3 MB, free: 69.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003307/0.4362, allocations: 0.8565 MB / 463.1 MB, free: 69.59 MB / 382.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.003784/0.44, allocations: 0.9654 MB / 464.1 MB, free: 69.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.4416, allocations: 0.6501 MB / 464.8 MB, free: 69.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4416, allocations: 0 / 464.8 MB, free: 69.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006859/0.4423, allocations: 415.7 kB / 465.2 MB, free: 69.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.4434, allocations: 205.1 kB / 465.4 MB, free: 68.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.4457, allocations: 1.266 MB / 466.6 MB, free: 68.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.4461, allocations: 0.8707 MB / 467.5 MB, free: 67.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.4466, allocations: 145.6 kB / 467.6 MB, free: 67.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.4467, allocations: 34.31 kB / 467.7 MB, free: 67.65 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4467, allocations: 0 / 467.7 MB, free: 67.65 MB / 382.1 MB Notification: Performance of Templates: time 0.03858/0.4853, allocations: 35.99 MB / 0.4919 GB, free: 36.61 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)