Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0007966/0.0007966, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004887/0.004887, allocations: 169.7 kB / 16.27 MB, free: 6.66 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.458/1.458, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004829/0.0004832, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2644, allocations: 47.59 MB / 327.1 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03216/0.2966, allocations: 32.5 MB / 359.5 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02035/0.317, allocations: 16.41 MB / 376 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005379/0.3176, allocations: 4 kB / 376 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009394/0.3186, allocations: 230.8 kB / 376.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.3197, allocations: 354.2 kB / 376.5 MB, free: 1.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01742/0.3371, allocations: 4.68 MB / 381.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.3388, allocations: 1.426 MB / 382.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.339, allocations: 81.03 kB / 382.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/0.344, allocations: 2.111 MB / 384.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.3445, allocations: 298.8 kB / 385.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.3445, allocations: 16 kB / 385.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006298/0.3508, allocations: 3.508 MB / 388.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.3511, allocations: 91.64 kB / 388.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.3514, allocations: 228.9 kB / 389 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.3553, allocations: 2.327 MB / 391.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3553, allocations: 0 / 391.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3553, allocations: 0 / 391.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.3554, allocations: 0 / 391.3 MB, free: 2.93 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.001367/0.3567, allocations: 0.7448 MB / 392 MB, free: 2.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3568, allocations: 11.97 kB / 392 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007373/0.3575, allocations: 88.42 kB / 392.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.3579, allocations: 307.6 kB / 392.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.358, allocations: 25.03 kB / 392.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.358, allocations: 32.38 kB / 392.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.3588, allocations: 442.1 kB / 392.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3589, allocations: 3.938 kB / 392.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.3589, allocations: 20 kB / 392.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3589, allocations: 8 kB / 392.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.3595, allocations: 313.9 kB / 393.3 MB, free: 0.8242 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.002761/0.3623, allocations: 2.622 MB / 395.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.3629, allocations: 254.4 kB / 396.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.3631, allocations: 104.8 kB / 396.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03394/0.397, allocations: 15.58 MB / 411.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.019e-05/0.3971, allocations: 46.55 kB / 411.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/0.3971, allocations: 0 / 411.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.004787/0.4019, allocations: 1.308 MB / 413.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.402, allocations: 55.41 kB / 413.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.4023, allocations: 262.5 kB / 413.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.4024, allocations: 37.7 kB / 413.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.4025, allocations: 188.1 kB / 413.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.769e-05/0.4026, allocations: 114.4 kB / 413.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.4026, allocations: 37.7 kB / 413.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4028, allocations: 342.8 kB / 414.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.403, allocations: 96.84 kB / 414.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.4032, allocations: 222.9 kB / 414.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.4037, allocations: 354.4 kB / 414.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4037, allocations: 4 kB / 414.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007923/0.4045, allocations: 450.4 kB / 415.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4046, allocations: 8 kB / 415.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.4046, allocations: 4.5 kB / 415.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00337/0.4079, allocations: 269.3 kB / 415.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.4083, allocations: 83.89 kB / 415.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.41, allocations: 1.871 MB / 417.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.4103, allocations: 35.98 kB / 417.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.4104, allocations: 19.94 kB / 417.6 MB, free: 6.039 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.0002058/0.4106, allocations: 165.7 kB / 417.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.4107, allocations: 31.66 kB / 417.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.4119, allocations: 0.9397 MB / 418.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.4119, allocations: 15.98 kB / 418.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4119, allocations: 0 / 418.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/0.413, allocations: 1.111 MB / 419.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.415, allocations: 1.595 MB / 421.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.4151, allocations: 0 / 421.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.4153, allocations: 51.91 kB / 421.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.4171, allocations: 295.8 kB / 421.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.4171, allocations: 12 kB / 421.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005541/0.4177, allocations: 0.6732 MB / 422.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4177, allocations: 0 / 422.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.4189, allocations: 0.945 MB / 423.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.419, allocations: 136.4 kB / 423.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.4191, allocations: 15.92 kB / 423.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.4193, allocations: 15.94 kB / 423.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.4194, allocations: 19.97 kB / 423.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.4194, allocations: 16.06 kB / 423.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002752/0.4197, allocations: 239 kB / 423.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4197, allocations: 0 / 423.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00155/0.4213, allocations: 499.8 kB / 424.3 MB, free: 15.03 MB / 366.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.001776/0.423, allocations: 0.5105 MB / 424.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009594/0.424, allocations: 0.5227 MB / 425.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.424, allocations: 0 / 425.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.4245, allocations: 292.3 kB / 425.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.4257, allocations: 196.8 kB / 425.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.4276, allocations: 1.253 MB / 427.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.4281, allocations: 0.8167 MB / 427.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003595/0.4284, allocations: 111.2 kB / 428 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.4285, allocations: 31.44 kB / 428 MB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4285, allocations: 3.938 kB / 428 MB, free: 11.24 MB / 366.1 MB Notification: Performance of Templates: time 0.02863/0.4572, allocations: 18.41 MB / 446.4 MB, free: 8.797 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)