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.007198/0.007199, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001704/0.001704, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.635/1.635, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.3437/0.3437, allocations: 38 MB / 307.9 MB, free: 10.36 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.001606/0.001606, allocations: 71.91 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3305, allocations: 56.46 MB / 489.5 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03847/0.369, allocations: 39.06 MB / 0.5162 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02547/0.3945, allocations: 20.13 MB / 0.5358 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.3956, allocations: 19.56 kB / 0.5358 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.3973, allocations: 454.1 kB / 0.5363 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01956/0.4168, allocations: 5.123 MB / 0.5413 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00901/0.4259, allocations: 2.56 MB / 0.5438 GB, free: 32 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.4288, allocations: 1.962 MB / 0.5457 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.4295, allocations: 485.5 kB / 0.5462 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009982/0.4395, allocations: 4.164 MB / 0.5502 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01206/0.4516, allocations: 5.424 MB / 0.5555 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.4518, allocations: 64 kB / 0.5556 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01499/0.4668, allocations: 7.239 MB / 0.5626 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004442/0.4673, allocations: 279.2 kB / 0.5629 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006944/0.468, allocations: 446 kB / 0.5633 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.4815, allocations: 4.958 MB / 0.5682 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4815, allocations: 0 / 0.5682 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4816, allocations: 0 / 0.5682 GB, free: 6.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.4816, allocations: 0 / 0.5682 GB, free: 6.855 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.005087/0.4867, allocations: 1.629 MB / 0.5698 GB, free: 5.176 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4867, allocations: 15.88 kB / 0.5698 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.4882, allocations: 215.9 kB / 0.57 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.4891, allocations: 0.5715 MB / 0.5706 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.4893, allocations: 109.3 kB / 0.5707 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.4894, allocations: 64.12 kB / 0.5707 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.4914, allocations: 1.07 MB / 0.5718 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.4914, allocations: 3.938 kB / 0.5718 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/0.4915, allocations: 35.98 kB / 0.5718 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-05/0.4916, allocations: 40.98 kB / 0.5718 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.4932, allocations: 0.8193 MB / 0.5726 GB, free: 2.074 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.005973/0.4992, allocations: 5.55 MB / 0.5781 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.5005, allocations: 0.5347 MB / 0.5786 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.5009, allocations: 218.4 kB / 0.5788 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09357/0.5945, allocations: 47.65 MB / 0.6253 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/0.5946, allocations: 46.55 kB / 0.6254 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 2.986e-06/0.5946, allocations: 0 / 0.6254 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.007302/0.6019, allocations: 2.122 MB / 0.6274 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.6021, allocations: 199.8 kB / 0.6276 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/0.6031, allocations: 0.6369 MB / 0.6283 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/0.6032, allocations: 33.7 kB / 0.6283 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/0.6036, allocations: 399.1 kB / 0.6287 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.6038, allocations: 165.7 kB / 0.6288 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.604, allocations: 158.5 kB / 0.629 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.6042, allocations: 374.8 kB / 0.6293 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.6047, allocations: 229.9 kB / 0.6296 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/0.6054, allocations: 0.59 MB / 0.6301 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2815/0.8869, allocations: 0.8596 MB / 0.631 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/0.887, allocations: 3.688 kB / 0.631 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002066/0.889, allocations: 0.9012 MB / 0.6318 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.8891, allocations: 10.59 kB / 0.6319 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.8891, allocations: 12.53 kB / 0.6319 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/0.8923, allocations: 273.6 kB / 0.6321 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.8936, allocations: 283.9 kB / 0.6324 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.8949, allocations: 2.11 MB / 0.6345 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.8956, allocations: 29.38 kB / 0.6345 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.8956, allocations: 46.31 kB / 0.6345 GB, free: 136.6 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.0003968/0.8961, allocations: 280.4 kB / 0.6348 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.8962, allocations: 74.05 kB / 0.6349 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.8995, allocations: 2.006 MB / 0.6368 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.234e-05/0.8995, allocations: 26.17 kB / 0.6369 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8995, allocations: 1.562 kB / 0.6369 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.8995, allocations: 3.625 kB / 0.6369 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004768/0.9043, allocations: 2.99 MB / 0.6398 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.9043, allocations: 1.188 kB / 0.6398 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000934/0.9053, allocations: 185.7 kB / 0.64 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.9072, allocations: 305 kB / 0.6403 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.9072, allocations: 18 kB / 0.6403 GB, free: 134 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.909, allocations: 2.173 MB / 0.6424 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.909, allocations: 0.9375 kB / 0.6424 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.9118, allocations: 1.949 MB / 0.6443 GB, free: 130.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.9123, allocations: 226.9 kB / 0.6445 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.9124, allocations: 24.09 kB / 0.6445 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.9128, allocations: 21.03 kB / 0.6446 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.9129, allocations: 33.8 kB / 0.6446 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.913, allocations: 18.53 kB / 0.6446 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001051/0.9141, allocations: 0.5787 MB / 0.6452 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9141, allocations: 0 / 0.6452 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004424/0.9185, allocations: 1.087 MB / 0.6462 GB, free: 130.3 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.004498/0.923, allocations: 1.196 MB / 0.6474 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.9252, allocations: 0.9241 MB / 0.6483 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9253, allocations: 0 / 0.6483 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.9265, allocations: 0.6528 MB / 0.6489 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.9286, allocations: 401.9 kB / 0.6493 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.9316, allocations: 2.114 MB / 0.6514 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.9322, allocations: 1.093 MB / 0.6525 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008418/0.933, allocations: 348 kB / 0.6528 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.9332, allocations: 61.55 kB / 0.6528 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of SimCode: time 4.4e-07/0.9332, allocations: 0 / 0.6528 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.05382/0.9871, allocations: 45.46 MB / 0.6972 GB, free: 93.48 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)