Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.00123/0.00123, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 222.1 MB, free: 5.391 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.3983/0.3983, allocations: 40 MB / 310.4 MB, free: 10.12 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.0005924/0.0005926, allocations: 12 kB / 378.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1781, allocations: 57.96 MB / 436.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5172/0.6954, allocations: 164.7 MB / 0.5874 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009049/0.7045, allocations: 5.487 MB / 0.5927 GB, free: 9.898 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.7057, allocations: 23.81 kB / 0.5928 GB, free: 9.875 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.7068, allocations: 258.4 kB / 0.593 GB, free: 9.621 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004676/0.7115, allocations: 1.363 MB / 0.5943 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.7149, allocations: 0.9726 MB / 0.5953 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003885/0.7188, allocations: 2.242 MB / 0.5975 GB, free: 5.059 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009441/0.7198, allocations: 381.9 kB / 0.5978 GB, free: 4.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.7236, allocations: 1.042 MB / 0.5989 GB, free: 3.641 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.7249, allocations: 0.7356 MB / 0.5996 GB, free: 2.902 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.7251, allocations: 32 kB / 0.5996 GB, free: 2.871 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.7271, allocations: 0.5896 MB / 0.6002 GB, free: 2.281 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.7275, allocations: 239.2 kB / 0.6004 GB, free: 2.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.7278, allocations: 161.4 kB / 0.6006 GB, free: 1.883 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.7292, allocations: 0.9976 MB / 0.6015 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.7292, allocations: 7.938 kB / 0.6016 GB, free: 0.875 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7292, allocations: 0 / 0.6016 GB, free: 0.875 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.7292, allocations: 4 kB / 0.6016 GB, free: 0.8711 MB / 462.1 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.002167/0.7314, allocations: 0.9852 MB / 0.6025 GB, free: 15.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.7314, allocations: 8.562 kB / 0.6025 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007469/0.7322, allocations: 127.1 kB / 0.6026 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008248/0.733, allocations: 0.4889 MB / 0.6031 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.7332, allocations: 104.4 kB / 0.6032 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/0.7333, allocations: 44 kB / 0.6033 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.7346, allocations: 0.8213 MB / 0.6041 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.7346, allocations: 7.953 kB / 0.6041 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.7347, allocations: 19.94 kB / 0.6041 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/0.7348, allocations: 40.98 kB / 0.6041 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.7358, allocations: 0.6282 MB / 0.6047 GB, free: 13.43 MB / 478.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.004535/0.7403, allocations: 3.974 MB / 0.6086 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.7409, allocations: 355.6 kB / 0.609 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.7412, allocations: 169.3 kB / 0.6091 GB, free: 8.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004493/0.7417, allocations: 365.4 kB / 0.6095 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.7417, allocations: 50.09 kB / 0.6095 GB, free: 8.215 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 3.377e-06/0.7418, allocations: 0 / 0.6095 GB, free: 8.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.00503/0.7468, allocations: 1.655 MB / 0.6111 GB, free: 6.488 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.7469, allocations: 144.4 kB / 0.6113 GB, free: 6.316 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007742/0.7477, allocations: 0.6016 MB / 0.6119 GB, free: 5.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.716e-05/0.7478, allocations: 33.7 kB / 0.6119 GB, free: 5.668 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.7481, allocations: 362.9 kB / 0.6122 GB, free: 5.309 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.7482, allocations: 146 kB / 0.6124 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.7483, allocations: 16 kB / 0.6124 GB, free: 5.148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.7485, allocations: 378.8 kB / 0.6128 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.7488, allocations: 197.9 kB / 0.6129 GB, free: 4.574 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/0.7494, allocations: 0.5086 MB / 0.6134 GB, free: 3.922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.7499, allocations: 291.8 kB / 0.6137 GB, free: 3.637 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7499, allocations: 0 / 0.6137 GB, free: 3.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001391/0.7513, allocations: 0.8806 MB / 0.6146 GB, free: 2.746 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.7513, allocations: 15.94 kB / 0.6146 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.7514, allocations: 8.875 kB / 0.6146 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.7528, allocations: 327.8 kB / 0.6149 GB, free: 2.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.7532, allocations: 119.8 kB / 0.615 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.7544, allocations: 0.9313 MB / 0.6159 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/0.755, allocations: 43.98 kB / 0.616 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.243e-05/0.7551, allocations: 71.98 kB / 0.6161 GB, free: 1.215 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004935/0.7556, allocations: 241.5 kB / 0.6163 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.7558, allocations: 71.16 kB / 0.6164 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.7574, allocations: 0.685 MB / 0.617 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.7574, allocations: 7.984 kB / 0.617 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7574, allocations: 0 / 0.617 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.7574, allocations: 4 kB / 0.617 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.7597, allocations: 1.601 MB / 0.6186 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.7597, allocations: 12.06 kB / 0.6186 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009683/0.7607, allocations: 203.8 kB / 0.6188 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.7608, allocations: 28.83 kB / 0.6188 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.7609, allocations: 12 kB / 0.6188 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.7631, allocations: 2.695 MB / 0.6215 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7631, allocations: 4.031 kB / 0.6215 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.7643, allocations: 0.803 MB / 0.6223 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.7646, allocations: 192.2 kB / 0.6224 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/0.7647, allocations: 15.95 kB / 0.6225 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.7651, allocations: 28.05 kB / 0.6225 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/0.7652, allocations: 39.94 kB / 0.6225 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.7653, allocations: 43.98 kB / 0.6226 GB, free: 10.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005165/0.7658, allocations: 427 kB / 0.623 GB, free: 9.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7658, allocations: 0 / 0.623 GB, free: 9.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001039/0.7669, allocations: 295.9 kB / 0.6233 GB, free: 9.355 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/0.768, allocations: 358.2 kB / 0.6236 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.7693, allocations: 0.5345 MB / 0.6241 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7693, allocations: 0 / 0.6241 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009577/0.7702, allocations: 415.1 kB / 0.6245 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.7719, allocations: 346.6 kB / 0.6248 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.7746, allocations: 1.565 MB / 0.6264 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007456/0.7754, allocations: 0.9338 MB / 0.6273 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001334/0.7767, allocations: 262 kB / 0.6275 GB, free: 4.902 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.7771, allocations: 99.39 kB / 0.6276 GB, free: 4.805 MB / 494.1 MB Notification: Performance of SimCode: time 2.174e-06/0.7772, allocations: 4 kB / 0.6276 GB, free: 4.801 MB / 494.1 MB Notification: Performance of Templates: time 0.3061/1.083, allocations: 17.08 MB / 0.6443 GB, free: 154.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) Environment - environmentSimulation: