Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.008572/0.008572, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001466/0.001466, allocations: 188.3 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.625/1.625, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.376/0.376, allocations: 39.95 MB / 309.8 MB, free: 9.387 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.2. 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.001484/0.001484, allocations: 75.91 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3479, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04279/0.3907, allocations: 39.06 MB / 0.5193 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.026/0.4168, allocations: 20.14 MB / 0.5389 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.4181, allocations: 19.88 kB / 0.539 GB, free: 5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.4195, allocations: 449.3 kB / 0.5394 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01668/0.4362, allocations: 5.106 MB / 0.5444 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007705/0.4439, allocations: 2.56 MB / 0.5469 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003011/0.4469, allocations: 1.954 MB / 0.5488 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000833/0.4478, allocations: 497.5 kB / 0.5493 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009891/0.4577, allocations: 4.141 MB / 0.5533 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01205/0.4698, allocations: 5.42 MB / 0.5586 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.4702, allocations: 68 kB / 0.5587 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01657/0.4868, allocations: 7.239 MB / 0.5657 GB, free: 9.391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004839/0.4873, allocations: 271.3 kB / 0.566 GB, free: 9.125 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006795/0.488, allocations: 450 kB / 0.5664 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.5016, allocations: 4.95 MB / 0.5713 GB, free: 3.723 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5016, allocations: 4 kB / 0.5713 GB, free: 3.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.5016, allocations: 3.984 kB / 0.5713 GB, free: 3.715 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.5016, allocations: 4 kB / 0.5713 GB, free: 3.711 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.004279/0.5059, allocations: 1.621 MB / 0.5729 GB, free: 2.039 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.506, allocations: 11.89 kB / 0.5729 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.5075, allocations: 219.8 kB / 0.5731 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009886/0.5085, allocations: 0.5638 MB / 0.5736 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.5087, allocations: 113.2 kB / 0.5737 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.5088, allocations: 68.11 kB / 0.5738 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.5108, allocations: 1.074 MB / 0.5748 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.5108, allocations: 3.938 kB / 0.5749 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/0.5109, allocations: 32 kB / 0.5749 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.691e-05/0.511, allocations: 44.97 kB / 0.5749 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.5126, allocations: 0.8154 MB / 0.5757 GB, free: 14.94 MB / 462.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.006057/0.5187, allocations: 5.546 MB / 0.5811 GB, free: 9.031 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.5199, allocations: 0.5437 MB / 0.5817 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.5203, allocations: 214.4 kB / 0.5819 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1018/0.6221, allocations: 47.65 MB / 0.6284 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.273e-05/0.6222, allocations: 38.56 kB / 0.6284 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 4.628e-06/0.6222, allocations: 0 / 0.6284 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.007179/0.6294, allocations: 2.126 MB / 0.6305 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.6295, allocations: 195.9 kB / 0.6307 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3097/0.9392, allocations: 0.6351 MB / 0.6313 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001986/0.9395, allocations: 32.36 kB / 0.6314 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000449/0.94, allocations: 401.9 kB / 0.6317 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.9402, allocations: 160.9 kB / 0.6319 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.9406, allocations: 159.4 kB / 0.632 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.9407, allocations: 377.8 kB / 0.6324 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.9413, allocations: 230.5 kB / 0.6326 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007683/0.9421, allocations: 0.5922 MB / 0.6332 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.9433, allocations: 0.8635 MB / 0.634 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.9433, allocations: 3.688 kB / 0.6341 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001706/0.945, allocations: 0.9003 MB / 0.6349 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.945, allocations: 10.69 kB / 0.6349 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/0.9451, allocations: 11.69 kB / 0.635 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/0.9485, allocations: 275.5 kB / 0.6352 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.9499, allocations: 278.1 kB / 0.6355 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.9516, allocations: 2.118 MB / 0.6375 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/0.9523, allocations: 33.86 kB / 0.6376 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.9524, allocations: 39.78 kB / 0.6376 GB, free: 135.1 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.0004822/0.9529, allocations: 272.9 kB / 0.6379 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.9531, allocations: 75.12 kB / 0.638 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.9561, allocations: 2.008 MB / 0.6399 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/0.9561, allocations: 25.83 kB / 0.6399 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9561, allocations: 0.6875 kB / 0.6399 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.9561, allocations: 4.422 kB / 0.6399 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/0.9601, allocations: 2.996 MB / 0.6429 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9601, allocations: 1.125 kB / 0.6429 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/0.9611, allocations: 187.7 kB / 0.643 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/0.963, allocations: 299.8 kB / 0.6433 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.963, allocations: 9.891 kB / 0.6433 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.9649, allocations: 2.179 MB / 0.6455 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.9649, allocations: 1.344 kB / 0.6455 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/0.9679, allocations: 1.948 MB / 0.6474 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/0.9684, allocations: 222.3 kB / 0.6476 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.9685, allocations: 32.44 kB / 0.6476 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.969, allocations: 13.97 kB / 0.6476 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.9691, allocations: 33.61 kB / 0.6477 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.9692, allocations: 21.61 kB / 0.6477 GB, free: 129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009451/0.9701, allocations: 0.5753 MB / 0.6482 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9701, allocations: 0 / 0.6482 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00477/0.9749, allocations: 1.086 MB / 0.6493 GB, free: 128.7 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.004849/0.9798, allocations: 1.204 MB / 0.6505 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00258/0.9824, allocations: 0.921 MB / 0.6514 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.9824, allocations: 1 kB / 0.6514 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.984, allocations: 0.64 MB / 0.652 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.9865, allocations: 411.1 kB / 0.6524 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.99, allocations: 2.115 MB / 0.6545 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000753/0.9908, allocations: 1.099 MB / 0.6555 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001025/0.9918, allocations: 335 kB / 0.6559 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.992, allocations: 70.77 kB / 0.6559 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.693e-06/0.9921, allocations: 0 / 0.6559 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.05768/1.05, allocations: 45.46 MB / 0.7003 GB, free: 88.06 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)