Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001334/0.001334, allocations: 106.4 kB / 16.5 MB, free: 6.715 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.001325/0.001325, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.47/1.47, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001163/0.001163, allocations: 47.94 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09413, allocations: 46.63 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03381/0.128, allocations: 33.24 MB / 359.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.1463, allocations: 16.68 MB / 375.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/0.1468, allocations: 4 kB / 375.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009902/0.1478, allocations: 230.8 kB / 376.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007703/0.1486, allocations: 346.2 kB / 376.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1956/0.3442, allocations: 4.669 MB / 381.1 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.3463, allocations: 1.422 MB / 382.6 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.3465, allocations: 85.73 kB / 382.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005832/0.3524, allocations: 2.117 MB / 384.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.3531, allocations: 308 kB / 385.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.66e-05/0.3532, allocations: 18.44 kB / 385.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006689/0.3599, allocations: 3.517 MB / 388.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.3601, allocations: 87.09 kB / 388.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.3606, allocations: 203.9 kB / 388.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004429/0.3651, allocations: 2.343 MB / 391.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3651, allocations: 4 kB / 391.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3651, allocations: 1.312 kB / 391.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3651, allocations: 0 / 391.2 MB, free: 11.52 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.001918/0.3671, allocations: 0.8253 MB / 392.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3671, allocations: 7.875 kB / 392.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008017/0.3679, allocations: 84.38 kB / 392.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.3682, allocations: 299.9 kB / 392.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3683, allocations: 30.28 kB / 392.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.3683, allocations: 28.84 kB / 392.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.369, allocations: 446.9 kB / 392.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.3691, allocations: 3.969 kB / 392.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.3691, allocations: 15.91 kB / 392.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3691, allocations: 8.344 kB / 393 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.3697, allocations: 316.3 kB / 393.3 MB, free: 10.64 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.002337/0.3721, allocations: 2.617 MB / 395.9 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.3726, allocations: 251 kB / 396.1 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3727, allocations: 110.2 kB / 396.2 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02937/0.4021, allocations: 15.48 MB / 411.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.4022, allocations: 30.56 kB / 411.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/0.4022, allocations: 3.594 kB / 411.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004616/0.4068, allocations: 1.307 MB / 413.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.4069, allocations: 55.5 kB / 413.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.4072, allocations: 272.3 kB / 413.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.4072, allocations: 35.58 kB / 413.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.4074, allocations: 193.9 kB / 413.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.4075, allocations: 107.3 kB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.4076, allocations: 81.22 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4077, allocations: 338.6 kB / 414.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.4079, allocations: 99.28 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.4082, allocations: 222 kB / 414.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.4086, allocations: 349.1 kB / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4086, allocations: 0 / 414.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006772/0.4093, allocations: 447.9 kB / 415.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4093, allocations: 6.031 kB / 415.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4093, allocations: 7.75 kB / 415.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.4126, allocations: 263.5 kB / 415.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.4129, allocations: 82.55 kB / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.4145, allocations: 1.884 MB / 417.4 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.4149, allocations: 26.77 kB / 417.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.4149, allocations: 19.92 kB / 417.5 MB, free: 9.363 MB / 334.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.0002349/0.4152, allocations: 162.8 kB / 417.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.4153, allocations: 30.66 kB / 417.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.4164, allocations: 0.9549 MB / 418.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4165, allocations: 7.984 kB / 418.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.4165, allocations: 0 / 418.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/0.4175, allocations: 1.114 MB / 419.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.4193, allocations: 1.596 MB / 421.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4193, allocations: 0 / 421.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.4195, allocations: 48.7 kB / 421.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/0.4213, allocations: 296 kB / 421.7 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.4213, allocations: 7.625 kB / 421.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005512/0.4219, allocations: 0.6671 MB / 422.4 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4219, allocations: 0 / 422.4 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.423, allocations: 0.9567 MB / 423.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4231, allocations: 112.2 kB / 423.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.4231, allocations: 20.41 kB / 423.5 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.4233, allocations: 16.77 kB / 423.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.4234, allocations: 23.34 kB / 423.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.4234, allocations: 8 kB / 423.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002303/0.4237, allocations: 244.8 kB / 423.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4237, allocations: 0 / 423.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00185/0.4255, allocations: 499.1 kB / 424.2 MB, free: 4.301 MB / 334.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.001757/0.4273, allocations: 0.5161 MB / 424.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008369/0.4281, allocations: 0.5221 MB / 425.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4281, allocations: 0 / 425.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.4286, allocations: 295.1 kB / 425.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.4296, allocations: 192.2 kB / 425.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.431, allocations: 1.182 MB / 426.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.4314, allocations: 0.8199 MB / 427.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.4317, allocations: 111.5 kB / 427.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.4318, allocations: 35.42 kB / 427.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4318, allocations: 0 / 427.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of Templates: time 0.02626/0.458, allocations: 18.48 MB / 446.4 MB, free: 14.73 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)