Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_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.1_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.0009293/0.0009294, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001016/0.001016, 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.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2902/0.2902, allocations: 38.04 MB / 308.4 MB, free: 10.39 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.1. 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.0005582/0.0005584, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1169, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3728/0.4897, allocations: 164.7 MB / 0.5846 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.4962, allocations: 5.484 MB / 0.59 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/0.4967, allocations: 27.75 kB / 0.59 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.4974, allocations: 266.4 kB / 0.5902 GB, free: 14.26 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.003213/0.5007, allocations: 1.351 MB / 0.5916 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.5031, allocations: 0.9742 MB / 0.5925 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002564/0.5057, allocations: 2.246 MB / 0.5947 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006347/0.5064, allocations: 379.7 kB / 0.5951 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.5086, allocations: 1.041 MB / 0.5961 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.5098, allocations: 0.7278 MB / 0.5968 GB, free: 7.555 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.5099, allocations: 32 kB / 0.5968 GB, free: 7.523 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.5114, allocations: 0.6006 MB / 0.5974 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.5117, allocations: 239.3 kB / 0.5976 GB, free: 6.688 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.5119, allocations: 165.3 kB / 0.5978 GB, free: 6.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.5131, allocations: 0.9937 MB / 0.5988 GB, free: 5.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5131, allocations: 0 / 0.5988 GB, free: 5.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5131, allocations: 0 / 0.5988 GB, free: 5.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.5131, allocations: 0 / 0.5988 GB, free: 5.523 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.001945/0.5151, allocations: 0.9862 MB / 0.5997 GB, free: 4.484 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5151, allocations: 12.56 kB / 0.5997 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007464/0.5159, allocations: 137.8 kB / 0.5999 GB, free: 4.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008608/0.5167, allocations: 496.7 kB / 0.6003 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-05/0.5168, allocations: 100.4 kB / 0.6004 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.5169, allocations: 59.88 kB / 0.6005 GB, free: 3.645 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.5181, allocations: 0.8058 MB / 0.6013 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.5182, allocations: 7.875 kB / 0.6013 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/0.5182, allocations: 31.95 kB / 0.6013 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/0.5183, allocations: 40.97 kB / 0.6014 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.5193, allocations: 0.6244 MB / 0.602 GB, free: 2.059 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.004675/0.524, allocations: 3.97 MB / 0.6058 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.5246, allocations: 359.5 kB / 0.6062 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.5249, allocations: 169.3 kB / 0.6063 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004105/0.5253, allocations: 369.4 kB / 0.6067 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.291e-05/0.5254, allocations: 38.84 kB / 0.6067 GB, free: 12.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.023e-06/0.5254, allocations: 4 kB / 0.6067 GB, free: 12.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.004819/0.5302, allocations: 1.667 MB / 0.6084 GB, free: 11.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.5303, allocations: 136.5 kB / 0.6085 GB, free: 10.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.531, allocations: 0.6017 MB / 0.6091 GB, free: 10.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.531, allocations: 37.7 kB / 0.6091 GB, free: 10.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.5313, allocations: 374.8 kB / 0.6095 GB, free: 9.926 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.5314, allocations: 134 kB / 0.6096 GB, free: 9.793 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.5314, allocations: 16 kB / 0.6096 GB, free: 9.777 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5316, allocations: 374.8 kB / 0.61 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.5319, allocations: 197.9 kB / 0.6102 GB, free: 9.207 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007077/0.5327, allocations: 0.5163 MB / 0.6107 GB, free: 8.543 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.5331, allocations: 295.6 kB / 0.611 GB, free: 8.254 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5331, allocations: 4 kB / 0.611 GB, free: 8.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00132/0.5345, allocations: 0.8684 MB / 0.6118 GB, free: 7.371 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5345, allocations: 11.95 kB / 0.6118 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.5345, allocations: 15.98 kB / 0.6118 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.5358, allocations: 312.8 kB / 0.6121 GB, free: 7.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.5361, allocations: 123.8 kB / 0.6123 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.5372, allocations: 0.9352 MB / 0.6132 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.5377, allocations: 43.91 kB / 0.6132 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.5378, allocations: 68.06 kB / 0.6133 GB, free: 5.844 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.0003001/0.5381, allocations: 249.5 kB / 0.6135 GB, free: 5.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.5382, allocations: 63.25 kB / 0.6136 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.5396, allocations: 0.6859 MB / 0.6142 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.5397, allocations: 7.953 kB / 0.6142 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5397, allocations: 0 / 0.6142 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5397, allocations: 3.984 kB / 0.6143 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.5417, allocations: 1.603 MB / 0.6158 GB, free: 3.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5417, allocations: 0 / 0.6158 GB, free: 3.066 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009844/0.5427, allocations: 207.8 kB / 0.616 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.9e-05/0.5428, allocations: 35.64 kB / 0.616 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.5429, allocations: 23.98 kB / 0.6161 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.5449, allocations: 2.672 MB / 0.6187 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5449, allocations: 224 / 0.6187 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.546, allocations: 0.8116 MB / 0.6195 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.5463, allocations: 192.2 kB / 0.6197 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/0.5464, allocations: 15.95 kB / 0.6197 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.5468, allocations: 28.66 kB / 0.6197 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.5469, allocations: 39.89 kB / 0.6197 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.5469, allocations: 43.98 kB / 0.6198 GB, free: 14.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004953/0.5474, allocations: 427 kB / 0.6202 GB, free: 14.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5474, allocations: 4 kB / 0.6202 GB, free: 14.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009834/0.5484, allocations: 299.9 kB / 0.6205 GB, free: 13.98 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.0009078/0.5493, allocations: 359.9 kB / 0.6208 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.5504, allocations: 0.5274 MB / 0.6213 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5504, allocations: 0 / 0.6213 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009417/0.5514, allocations: 422.3 kB / 0.6217 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.5529, allocations: 341.6 kB / 0.6221 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.5551, allocations: 1.553 MB / 0.6236 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.5557, allocations: 0.9377 MB / 0.6245 GB, free: 9.789 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.5567, allocations: 258 kB / 0.6247 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.557, allocations: 103.4 kB / 0.6248 GB, free: 9.438 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.557, allocations: 0 / 0.6248 GB, free: 9.438 MB / 494.1 MB Notification: Performance of Templates: time 0.2323/0.7894, allocations: 17.08 MB / 0.6415 GB, free: 157.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) Environment - environmentSimulation: