Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001495/0.001495, allocations: 166.2 kB / 7.641 MB, free: 1.406 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.737/1.737, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001817/0.001817, allocations: 99.47 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2353/0.2353, allocations: 37.98 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.758e-05, allocations: 1.281 kB / 350 MB, free: 36.96 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 48.72 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.141, allocations: 340.8 MB / 0.7222 GB, free: 54.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.142, allocations: 91.75 kB / 0.7222 GB, free: 54.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.559/1.701, allocations: 128.3 MB / 0.8475 GB, free: 102.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.183e-06/1.701, allocations: 4 kB / 0.8475 GB, free: 102.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.051e-05/1.701, allocations: 19.91 kB / 0.8476 GB, free: 102.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001593/1.702, allocations: 0.8846 MB / 0.8484 GB, free: 101.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.702, allocations: 12.02 kB / 0.8484 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003332/1.703, allocations: 83.16 kB / 0.8485 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/1.704, allocations: 0.5554 MB / 0.8491 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/1.704, allocations: 80.7 kB / 0.8491 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/1.704, allocations: 32 kB / 0.8492 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000763/1.704, allocations: 0.5335 MB / 0.8497 GB, free: 99.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/1.705, allocations: 0.7254 MB / 0.8504 GB, free: 99.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.705, allocations: 3.938 kB / 0.8504 GB, free: 99.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/1.705, allocations: 8 kB / 0.8504 GB, free: 99.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/1.705, allocations: 41.28 kB / 0.8504 GB, free: 99.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003729/1.709, allocations: 4.153 MB / 0.8545 GB, free: 94.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/1.71, allocations: 262.9 kB / 0.8547 GB, free: 94.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/1.71, allocations: 136.8 kB / 0.8549 GB, free: 94.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/1.711, allocations: 1.482 MB / 0.8563 GB, free: 92.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/1.711, allocations: 38.5 kB / 0.8564 GB, free: 92.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/1.711, allocations: 3.938 kB / 0.8564 GB, free: 92.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001675/1.713, allocations: 0.7578 MB / 0.8571 GB, free: 91.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/1.713, allocations: 136.5 kB / 0.8572 GB, free: 91.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/1.714, allocations: 0.5186 MB / 0.8577 GB, free: 91.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/1.714, allocations: 33.69 kB / 0.8578 GB, free: 91.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/1.714, allocations: 453.2 kB / 0.8582 GB, free: 90.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/1.714, allocations: 75 kB / 0.8583 GB, free: 90.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/1.714, allocations: 0 / 0.8583 GB, free: 90.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/1.714, allocations: 370.8 kB / 0.8586 GB, free: 90.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/1.714, allocations: 141.5 kB / 0.8588 GB, free: 90.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/1.715, allocations: 0.5336 MB / 0.8593 GB, free: 89.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/1.715, allocations: 268.1 kB / 0.8595 GB, free: 89.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.715, allocations: 8 kB / 0.8595 GB, free: 89.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009829/1.716, allocations: 0.6337 MB / 0.8602 GB, free: 88.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/1.716, allocations: 8 kB / 0.8602 GB, free: 88.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/1.716, allocations: 16 kB / 0.8602 GB, free: 88.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.684e-05/1.716, allocations: 20 kB / 0.8602 GB, free: 88.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/1.717, allocations: 204.3 kB / 0.8604 GB, free: 88.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/1.717, allocations: 35.81 kB / 0.8604 GB, free: 88.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/1.718, allocations: 35.91 kB / 0.8605 GB, free: 88.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/1.718, allocations: 43.98 kB / 0.8605 GB, free: 88.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/1.718, allocations: 136.7 kB / 0.8606 GB, free: 87.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/1.718, allocations: 63.25 kB / 0.8607 GB, free: 87.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005057/1.719, allocations: 258.7 kB / 0.861 GB, free: 87.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.719, allocations: 0 / 0.861 GB, free: 87.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.719, allocations: 4 kB / 0.861 GB, free: 87.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/1.719, allocations: 7.938 kB / 0.861 GB, free: 87.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/1.72, allocations: 0.7517 MB / 0.8617 GB, free: 86.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.72, allocations: 0 / 0.8617 GB, free: 86.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/1.72, allocations: 47.91 kB / 0.8617 GB, free: 86.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/1.72, allocations: 28.84 kB / 0.8618 GB, free: 86.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/1.72, allocations: 4 kB / 0.8618 GB, free: 86.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004179/1.72, allocations: 0.5602 MB / 0.8623 GB, free: 86.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.72, allocations: 4.031 kB / 0.8623 GB, free: 86.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/1.721, allocations: 488 kB / 0.8628 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/1.721, allocations: 168.4 kB / 0.863 GB, free: 85.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/1.721, allocations: 4 kB / 0.863 GB, free: 85.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/1.722, allocations: 19.89 kB / 0.863 GB, free: 85.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/1.722, allocations: 15.94 kB / 0.863 GB, free: 85.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/1.722, allocations: 23.98 kB / 0.863 GB, free: 85.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003919/1.722, allocations: 383.2 kB / 0.8634 GB, free: 84.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.722, allocations: 0 / 0.8634 GB, free: 84.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008375/1.723, allocations: 191.9 kB / 0.8636 GB, free: 84.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006679/1.724, allocations: 321.3 kB / 0.8639 GB, free: 84.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004879/1.724, allocations: 358 kB / 0.8642 GB, free: 84.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.724, allocations: 0 / 0.8642 GB, free: 84.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/1.724, allocations: 89.09 kB / 0.8643 GB, free: 84.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.725, allocations: 215.9 kB / 0.8645 GB, free: 83.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/1.727, allocations: 0.7437 MB / 0.8652 GB, free: 83.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/1.727, allocations: 0.9448 MB / 0.8661 GB, free: 82.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005521/1.728, allocations: 189.4 kB / 0.8663 GB, free: 81.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.935e-05/1.728, allocations: 51.42 kB / 0.8664 GB, free: 81.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/1.728, allocations: 0 / 0.8664 GB, free: 81.8 MB / 426.7 MB Notification: Performance of Templates: time 0.01575/1.743, allocations: 9.545 MB / 0.8757 GB, free: 72.32 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)