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.001127/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001128/0.001128, allocations: 194.5 kB / 16.14 MB, free: 6.703 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.593/1.593, allocations: 205.1 MB / 222 MB, free: 4.758 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.384/0.384, allocations: 39.93 MB / 309.3 MB, free: 9.609 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.001346/0.001346, allocations: 70.97 kB / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1588, allocations: 56.89 MB / 433.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3346/0.4935, allocations: 40.26 MB / 474.1 MB, free: 31.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02196/0.5155, allocations: 21.25 MB / 495.3 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.5171, allocations: 28.75 kB / 495.4 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.5186, allocations: 394.7 kB / 495.7 MB, free: 16.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01589/0.5345, allocations: 4.168 MB / 499.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00825/0.5428, allocations: 2.23 MB / 0.4904 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004383/0.5472, allocations: 2.823 MB / 0.4931 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.5484, allocations: 419.6 kB / 0.4935 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.56, allocations: 4.029 MB / 0.4975 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0145/0.5745, allocations: 5.446 MB / 0.5028 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003334/0.5749, allocations: 36.56 kB / 0.5028 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01911/0.594, allocations: 7.12 MB / 0.5098 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006595/0.5948, allocations: 247.5 kB / 0.51 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008948/0.5957, allocations: 422.5 kB / 0.5104 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.6125, allocations: 4.937 MB / 0.5152 GB, free: 2.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6126, allocations: 7.938 kB / 0.5152 GB, free: 2.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6126, allocations: 1.031 kB / 0.5152 GB, free: 2.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.6126, allocations: 0 / 0.5152 GB, free: 2.398 MB / 382.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.005843/0.6184, allocations: 1.62 MB / 0.5168 GB, free: 1.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.6185, allocations: 14.22 kB / 0.5168 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.62, allocations: 227 kB / 0.517 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.6209, allocations: 0.538 MB / 0.5176 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.621, allocations: 109.7 kB / 0.5177 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.704e-05/0.6211, allocations: 54.12 kB / 0.5177 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.6232, allocations: 1.085 MB / 0.5188 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.6232, allocations: 10.84 kB / 0.5188 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.6233, allocations: 28.91 kB / 0.5188 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/0.6234, allocations: 37.02 kB / 0.5189 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.625, allocations: 0.8247 MB / 0.5197 GB, free: 15.36 MB / 398.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.0066/0.6316, allocations: 5.564 MB / 0.5251 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.633, allocations: 0.5291 MB / 0.5256 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.6333, allocations: 217.3 kB / 0.5258 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09699/0.7303, allocations: 47.45 MB / 0.5722 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.755e-05/0.7305, allocations: 47.12 kB / 0.5722 GB, free: 5.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 3.737e-06/0.7305, allocations: 0 / 0.5722 GB, free: 5.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.007033/0.7375, allocations: 2.122 MB / 0.5743 GB, free: 3.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7377, allocations: 191.8 kB / 0.5745 GB, free: 3.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.7387, allocations: 0.6406 MB / 0.5751 GB, free: 2.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.7388, allocations: 33.7 kB / 0.5751 GB, free: 2.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.7392, allocations: 399.2 kB / 0.5755 GB, free: 2.207 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.7393, allocations: 173.7 kB / 0.5757 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.7396, allocations: 154.5 kB / 0.5758 GB, free: 1.879 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.7399, allocations: 378.8 kB / 0.5762 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.7403, allocations: 233.8 kB / 0.5764 GB, free: 1.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.741, allocations: 0.5868 MB / 0.577 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.7421, allocations: 0.8677 MB / 0.5778 GB, free: 15.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.7421, allocations: 4 kB / 0.5778 GB, free: 15.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001431/0.7435, allocations: 0.9 MB / 0.5787 GB, free: 14.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.7436, allocations: 12 kB / 0.5787 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.7436, allocations: 8 kB / 0.5787 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/0.7469, allocations: 268.5 kB / 0.579 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.7481, allocations: 287.7 kB / 0.5793 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.7499, allocations: 2.021 MB / 0.5812 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/0.7507, allocations: 56.03 kB / 0.5813 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.7508, allocations: 40 kB / 0.5813 GB, free: 11.73 MB / 462.1 MB 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.0004448/0.7513, allocations: 278.5 kB / 0.5816 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.7514, allocations: 75.14 kB / 0.5817 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.7539, allocations: 2.014 MB / 0.5836 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.7539, allocations: 27.95 kB / 0.5836 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.7539, allocations: 0 / 0.5836 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.754, allocations: 4.062 kB / 0.5837 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/0.7578, allocations: 2.998 MB / 0.5866 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.7578, allocations: 1.75 kB / 0.5866 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009015/0.7587, allocations: 179.8 kB / 0.5868 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.7605, allocations: 311.8 kB / 0.5871 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.7605, allocations: 15.92 kB / 0.5871 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.7623, allocations: 2.078 MB / 0.5891 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7623, allocations: 0 / 0.5891 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.7648, allocations: 1.948 MB / 0.591 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.7653, allocations: 231.6 kB / 0.5912 GB, free: 1.289 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.7654, allocations: 27.75 kB / 0.5912 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.7659, allocations: 31.92 kB / 0.5913 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.766, allocations: 36.39 kB / 0.5913 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.7661, allocations: 23.98 kB / 0.5913 GB, free: 1.172 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008709/0.7669, allocations: 0.5732 MB / 0.5919 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7669, allocations: 0 / 0.5919 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005778/0.7727, allocations: 1.082 MB / 0.5929 GB, free: 15.52 MB / 478.1 MB 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.005899/0.7786, allocations: 1.204 MB / 0.5941 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.7809, allocations: 0.9162 MB / 0.595 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.7809, allocations: 0.75 kB / 0.595 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.7821, allocations: 0.6398 MB / 0.5956 GB, free: 12.76 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.7844, allocations: 393.4 kB / 0.596 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.7877, allocations: 2.538 MB / 0.5985 GB, free: 9.805 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.7883, allocations: 1.089 MB / 0.5996 GB, free: 8.691 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007984/0.7891, allocations: 350.2 kB / 0.5999 GB, free: 8.344 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.7893, allocations: 63.44 kB / 0.6 GB, free: 8.285 MB / 478.1 MB Notification: Performance of SimCode: time 5.1e-07/0.7893, allocations: 0 / 0.6 GB, free: 8.285 MB / 478.1 MB Notification: Performance of Templates: time 0.2993/1.089, allocations: 44.63 MB / 0.6435 GB, free: 154.4 MB / 494.1 MB 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)