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_pT.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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.001439, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001989/0.001989, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.487/1.487, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.00129/0.00129, allocations: 55.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2262, allocations: 46.61 MB / 324.9 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03143/0.2577, allocations: 32.5 MB / 357.4 MB, free: 3.512 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.2779, allocations: 15.77 MB / 373.1 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005082/0.2785, allocations: 4 kB / 373.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009953/0.2795, allocations: 238.8 kB / 373.4 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009028/0.2804, allocations: 342.2 kB / 373.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01537/0.2958, allocations: 5.138 MB / 378.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.297, allocations: 0.9776 MB / 379.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.2972, allocations: 116.9 kB / 379.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.3014, allocations: 2.169 MB / 382.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.3017, allocations: 310.8 kB / 382.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.3018, allocations: 36 kB / 382.4 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005575/0.3073, allocations: 3.527 MB / 386 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3075, allocations: 95.73 kB / 386.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.3077, allocations: 223.2 kB / 386.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.3106, allocations: 2.358 MB / 388.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3106, allocations: 0 / 388.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3106, allocations: 0 / 388.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3106, allocations: 0 / 388.6 MB, free: 4.125 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.001257/0.3119, allocations: 0.8187 MB / 389.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3119, allocations: 8.031 kB / 389.5 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007164/0.3127, allocations: 84.52 kB / 389.5 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.313, allocations: 299.7 kB / 389.8 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.313, allocations: 25.03 kB / 389.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.3131, allocations: 28.38 kB / 389.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.3138, allocations: 454.1 kB / 390.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3139, allocations: 4 kB / 390.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.3139, allocations: 12 kB / 390.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3139, allocations: 8 kB / 390.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.3145, allocations: 321.8 kB / 390.7 MB, free: 1.953 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.002618/0.3171, allocations: 2.633 MB / 393.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.3177, allocations: 246.6 kB / 393.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.3178, allocations: 104.8 kB / 393.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03084/0.3487, allocations: 15.47 MB / 409.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.3488, allocations: 34.56 kB / 409.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 3.957e-06/0.3488, allocations: 3.938 kB / 409.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.0046/0.3534, allocations: 1.32 MB / 410.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3534, allocations: 55.41 kB / 410.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.3537, allocations: 270.5 kB / 410.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3538, allocations: 29.7 kB / 410.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3539, allocations: 199.9 kB / 411 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.311e-05/0.354, allocations: 110.5 kB / 411.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3541, allocations: 78.03 kB / 411.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3542, allocations: 338.8 kB / 411.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.3544, allocations: 100.8 kB / 411.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.3547, allocations: 218.9 kB / 411.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.3552, allocations: 354.3 kB / 412.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3552, allocations: 4 kB / 412.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007153/0.3559, allocations: 446.4 kB / 412.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3559, allocations: 11.94 kB / 412.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.356, allocations: 4 kB / 412.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003274/0.3592, allocations: 265.9 kB / 412.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.3595, allocations: 79.91 kB / 413 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.361, allocations: 1.974 MB / 414.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.3613, allocations: 31.89 kB / 415 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.3613, allocations: 16 kB / 415 MB, free: 7.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.3615, allocations: 173.7 kB / 415.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.3616, allocations: 27.72 kB / 415.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.3626, allocations: 0.9398 MB / 416.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3627, allocations: 7.984 kB / 416.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.3627, allocations: 0 / 416.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008967/0.3636, allocations: 1.118 MB / 417.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.3652, allocations: 1.592 MB / 418.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3653, allocations: 4 kB / 418.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.3655, allocations: 39.98 kB / 418.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.3672, allocations: 299.8 kB / 419.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.3672, allocations: 8.047 kB / 419.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004904/0.3677, allocations: 0.6694 MB / 419.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3677, allocations: 0 / 419.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3688, allocations: 0.9565 MB / 420.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.374e-05/0.3689, allocations: 112.6 kB / 420.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.369, allocations: 15.84 kB / 420.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3692, allocations: 15.98 kB / 421 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.3692, allocations: 23.98 kB / 421 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3693, allocations: 15.98 kB / 421 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002231/0.3695, allocations: 239 kB / 421.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3695, allocations: 0 / 421.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001291/0.3708, allocations: 499.9 kB / 421.7 MB, free: 160 kB / 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.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001643/0.3724, allocations: 0.5183 MB / 422.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009377/0.3734, allocations: 0.534 MB / 422.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3734, allocations: 0 / 422.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.3738, allocations: 310.5 kB / 423.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3749, allocations: 192.5 kB / 423.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.3764, allocations: 1.191 MB / 424.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.3768, allocations: 0.8206 MB / 425.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.3771, allocations: 107.2 kB / 425.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.3772, allocations: 35.38 kB / 425.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3772, allocations: 0 / 425.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.02558/0.4028, allocations: 18.81 MB / 444.2 MB, free: 9.547 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)