Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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.00832/0.00832, allocations: 97.62 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.00159/0.00159, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.574/1.574, allocations: 205.1 MB / 222.6 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3082/0.3082, allocations: 37.99 MB / 307.9 MB, free: 9.977 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 64.36 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2872, allocations: 56.47 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03662/0.3239, allocations: 39.06 MB / 0.5161 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02568/0.3496, allocations: 20.15 MB / 0.5358 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009829/0.3507, allocations: 20.34 kB / 0.5358 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.352, allocations: 448.9 kB / 0.5363 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01518/0.3672, allocations: 5.103 MB / 0.5413 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006918/0.3741, allocations: 2.548 MB / 0.5437 GB, free: 60 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002678/0.3768, allocations: 1.958 MB / 0.5457 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006558/0.3775, allocations: 485.5 kB / 0.5461 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.3876, allocations: 4.152 MB / 0.5502 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01171/0.3993, allocations: 5.413 MB / 0.5555 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.3997, allocations: 68 kB / 0.5555 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01744/0.4171, allocations: 7.235 MB / 0.5626 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005113/0.4177, allocations: 283.1 kB / 0.5629 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007525/0.4185, allocations: 446 kB / 0.5633 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.4311, allocations: 4.972 MB / 0.5681 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4311, allocations: 0 / 0.5681 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4311, allocations: 0 / 0.5681 GB, free: 6.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.4311, allocations: 0 / 0.5681 GB, free: 6.891 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004037/0.4352, allocations: 1.676 MB / 0.5698 GB, free: 5.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4352, allocations: 11.89 kB / 0.5698 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.4367, allocations: 224.2 kB / 0.57 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008261/0.4375, allocations: 0.5681 MB / 0.5706 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.4376, allocations: 109.3 kB / 0.5707 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/0.4377, allocations: 68.12 kB / 0.5707 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.4396, allocations: 1.066 MB / 0.5718 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.4396, allocations: 7.938 kB / 0.5718 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.4397, allocations: 31.98 kB / 0.5718 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/0.4398, allocations: 40.98 kB / 0.5718 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.4414, allocations: 0.8271 MB / 0.5727 GB, free: 2.051 MB / 446.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.005542/0.4469, allocations: 5.547 MB / 0.5781 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.4482, allocations: 0.5386 MB / 0.5786 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.4485, allocations: 210.4 kB / 0.5788 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09648/0.545, allocations: 47.67 MB / 0.6254 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.051e-05/0.5451, allocations: 38.56 kB / 0.6254 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/0.5451, allocations: 0 / 0.6254 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.00718/0.5523, allocations: 2.157 MB / 0.6275 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.5525, allocations: 195.7 kB / 0.6277 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009082/0.5534, allocations: 0.6408 MB / 0.6283 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.5534, allocations: 33.7 kB / 0.6283 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.5538, allocations: 416.1 kB / 0.6287 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.554, allocations: 166.6 kB / 0.6289 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.5543, allocations: 158.6 kB / 0.629 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.5545, allocations: 378.8 kB / 0.6294 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.5549, allocations: 233.9 kB / 0.6296 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/0.5555, allocations: 0.5783 MB / 0.6302 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2409/0.7964, allocations: 0.8652 MB / 0.631 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/0.7965, allocations: 3.531 kB / 0.631 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001763/0.7983, allocations: 0.9016 MB / 0.6319 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.7983, allocations: 14 kB / 0.6319 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.7983, allocations: 13.62 kB / 0.6319 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/0.8015, allocations: 269.3 kB / 0.6322 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.8028, allocations: 287.2 kB / 0.6325 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.8042, allocations: 2.111 MB / 0.6345 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.8047, allocations: 33.69 kB / 0.6346 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.8048, allocations: 44.34 kB / 0.6346 GB, free: 136.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0003588/0.8052, allocations: 278.2 kB / 0.6349 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.8054, allocations: 75.39 kB / 0.635 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.8076, allocations: 2.008 MB / 0.6369 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/0.8077, allocations: 28.38 kB / 0.6369 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.8077, allocations: 4.234 kB / 0.6369 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.8077, allocations: 2.531 kB / 0.6369 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.8111, allocations: 2.997 MB / 0.6399 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8111, allocations: 0.8125 kB / 0.6399 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/0.8121, allocations: 183 kB / 0.6401 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/0.8138, allocations: 306.5 kB / 0.6403 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.8138, allocations: 18.47 kB / 0.6404 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.8152, allocations: 2.172 MB / 0.6425 GB, free: 132 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8152, allocations: 2.172 kB / 0.6425 GB, free: 132 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.8173, allocations: 1.949 MB / 0.6444 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.8175, allocations: 233.6 kB / 0.6446 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.8177, allocations: 33.78 kB / 0.6446 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.8181, allocations: 18.27 kB / 0.6447 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.8182, allocations: 31.28 kB / 0.6447 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.8182, allocations: 19.48 kB / 0.6447 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007917/0.819, allocations: 0.5729 MB / 0.6453 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.819, allocations: 0 / 0.6453 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003248/0.8223, allocations: 1.1 MB / 0.6463 GB, free: 130.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.004031/0.8263, allocations: 1.211 MB / 0.6475 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002036/0.8284, allocations: 0.9256 MB / 0.6484 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.8284, allocations: 1.375 kB / 0.6484 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.8296, allocations: 0.6497 MB / 0.6491 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.8317, allocations: 393.1 kB / 0.6494 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.8351, allocations: 2.143 MB / 0.6515 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008704/0.836, allocations: 1.097 MB / 0.6526 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001022/0.837, allocations: 344.4 kB / 0.6529 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.8372, allocations: 63.62 kB / 0.653 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.8372, allocations: 0 / 0.653 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.05847/0.8957, allocations: 45.47 MB / 0.6974 GB, free: 93.45 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)