Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001603, allocations: 182.1 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 89.5 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5243/0.5243, allocations: 43.54 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004808, allocations: 12 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3713/0.5025, allocations: 33.12 MB / 0.5111 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02776/0.5303, allocations: 17.21 MB / 0.5279 GB, free: 15.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.5317, allocations: 21.91 kB / 0.5279 GB, free: 15.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.5335, allocations: 395.2 kB / 0.5283 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01663/0.5502, allocations: 3.992 MB / 0.5322 GB, free: 13.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008517/0.5587, allocations: 2.097 MB / 0.5342 GB, free: 11.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.5613, allocations: 1.154 MB / 0.5354 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000929/0.5623, allocations: 413.3 kB / 0.5358 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01742/0.5798, allocations: 6.269 MB / 0.5419 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02615/0.606, allocations: 8.756 MB / 0.5504 GB, free: 9.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.6063, allocations: 33.66 kB / 0.5505 GB, free: 9.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01963/0.6259, allocations: 7.03 MB / 0.5573 GB, free: 5.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005348/0.6265, allocations: 223.4 kB / 0.5575 GB, free: 5.719 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003948/0.6269, allocations: 189.3 kB / 0.5577 GB, free: 5.527 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008556/0.6355, allocations: 3.364 MB / 0.561 GB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6355, allocations: 0 / 0.561 GB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.686e-06/0.6355, allocations: 0 / 0.561 GB, free: 2.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.6356, allocations: 0 / 0.561 GB, free: 2.156 MB / 378.7 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.005132/0.6407, allocations: 1.469 MB / 0.5624 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6408, allocations: 12.02 kB / 0.5624 GB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.6429, allocations: 222.8 kB / 0.5627 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.6442, allocations: 0.524 MB / 0.5632 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.6444, allocations: 108.7 kB / 0.5633 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.6446, allocations: 71.69 kB / 0.5633 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/0.6477, allocations: 1.056 MB / 0.5644 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/0.6478, allocations: 3.938 kB / 0.5644 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.648, allocations: 27.12 kB / 0.5644 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.6481, allocations: 56.91 kB / 0.5645 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/0.6509, allocations: 0.8077 MB / 0.5652 GB, free: 13.6 MB / 394.7 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.009459/0.6604, allocations: 5.554 MB / 0.5707 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.6623, allocations: 0.5409 MB / 0.5712 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1693/0.8317, allocations: 47.87 MB / 0.618 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/0.8318, allocations: 42.56 kB / 0.618 GB, free: 1.586 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 3.507e-06/0.8318, allocations: 0 / 0.618 GB, free: 1.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.009712/0.8415, allocations: 2.137 MB / 0.6201 GB, free: 15.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.8417, allocations: 183.9 kB / 0.6203 GB, free: 15.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.8429, allocations: 0.6406 MB / 0.6209 GB, free: 14.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.8429, allocations: 37.7 kB / 0.6209 GB, free: 14.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.8433, allocations: 429.6 kB / 0.6213 GB, free: 14.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.8435, allocations: 161.7 kB / 0.6215 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.8436, allocations: 16 kB / 0.6215 GB, free: 13.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8438, allocations: 342.8 kB / 0.6218 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.8444, allocations: 229.9 kB / 0.622 GB, free: 13.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009628/0.8454, allocations: 0.5821 MB / 0.6226 GB, free: 12.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.8463, allocations: 335.7 kB / 0.6229 GB, free: 12.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.8463, allocations: 4 kB / 0.6229 GB, free: 12.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002291/0.8486, allocations: 0.8531 MB / 0.6238 GB, free: 11.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.8487, allocations: 13.36 kB / 0.6238 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.8487, allocations: 12 kB / 0.6238 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005496/0.8542, allocations: 281.2 kB / 0.6241 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.8567, allocations: 283.5 kB / 0.6243 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.8591, allocations: 2.019 MB / 0.6263 GB, free: 8.605 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.8602, allocations: 65.31 kB / 0.6264 GB, free: 8.543 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.8603, allocations: 40 kB / 0.6264 GB, free: 8.504 MB / 458.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005814/0.8609, allocations: 281.4 kB / 0.6267 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.8611, allocations: 71.16 kB / 0.6267 GB, free: 8.148 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.8649, allocations: 2.018 MB / 0.6287 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.22e-05/0.865, allocations: 27.95 kB / 0.6287 GB, free: 6.086 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.865, allocations: 0.875 kB / 0.6287 GB, free: 6.086 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.865, allocations: 4 kB / 0.6287 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005594/0.8706, allocations: 2.992 MB / 0.6317 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.8707, allocations: 8 kB / 0.6317 GB, free: 3.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/0.8725, allocations: 187.8 kB / 0.6318 GB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/0.8756, allocations: 315.9 kB / 0.6321 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.8758, allocations: 8 kB / 0.6322 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.8782, allocations: 2.081 MB / 0.6342 GB, free: 272 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8783, allocations: 4.062 kB / 0.6342 GB, free: 268 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003685/0.8819, allocations: 1.963 MB / 0.6361 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006658/0.8827, allocations: 287.3 kB / 0.6364 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.8829, allocations: 16.06 kB / 0.6364 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008631/0.8837, allocations: 35.83 kB / 0.6364 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.8839, allocations: 32.48 kB / 0.6365 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.8839, allocations: 15.98 kB / 0.6365 GB, free: 13.87 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.8851, allocations: 0.5654 MB / 0.637 GB, free: 13.31 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.8851, allocations: 0 / 0.637 GB, free: 13.31 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004316/0.8895, allocations: 1.097 MB / 0.6381 GB, free: 12.21 MB / 474.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007164/0.8967, allocations: 1.198 MB / 0.6393 GB, free: 11.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.9, allocations: 0.9012 MB / 0.6402 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.487e-06/0.9, allocations: 7.984 kB / 0.6402 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.9021, allocations: 0.636 MB / 0.6408 GB, free: 9.469 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.9054, allocations: 363.5 kB / 0.6411 GB, free: 9.117 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/0.9107, allocations: 2.63 MB / 0.6437 GB, free: 6.445 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.9118, allocations: 1.105 MB / 0.6448 GB, free: 5.312 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/0.9121, allocations: 71.42 kB / 0.6448 GB, free: 5.246 MB / 474.7 MB Notification: Performance of SimCode: time 1.312e-06/0.9121, allocations: 0 / 0.6448 GB, free: 5.246 MB / 474.7 MB Notification: Performance of Templates: time 0.4018/1.314, allocations: 39.58 MB / 0.6835 GB, free: 159.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)