Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008679/0.008679, allocations: 102 kB / 15.73 MB, free: 6.051 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.001899/0.001899, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.393/1.393, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 53.91 kB / 326.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.081/0.08234, allocations: 46.63 MB / 373.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06942/0.1518, allocations: 65.72 MB / 438.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006734/0.1586, allocations: 5.461 MB / 444.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.159, allocations: 4 kB / 444.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1601, allocations: 350 kB / 444.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.1611, allocations: 0.5089 MB / 445.2 MB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01722/0.1783, allocations: 7.084 MB / 452.3 MB, free: 1.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.1805, allocations: 1.539 MB / 453.9 MB, free: 460 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.1809, allocations: 224.8 kB / 454.1 MB, free: 228 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.196/0.3769, allocations: 0.61 MB / 454.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.378, allocations: 0.5711 MB / 455.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.3782, allocations: 84.84 kB / 455.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01637/0.3946, allocations: 10.09 MB / 465.4 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.3951, allocations: 323 kB / 465.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.3957, allocations: 439.6 kB / 466.2 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.4077, allocations: 5.921 MB / 472.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4077, allocations: 0 / 472.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4077, allocations: 1.875 kB / 472.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.4078, allocations: 0 / 472.1 MB, free: 6.348 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003723/0.4115, allocations: 1.554 MB / 473.6 MB, free: 5.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.4115, allocations: 11.3 kB / 473.7 MB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/0.412, allocations: 83.58 kB / 473.7 MB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/0.4125, allocations: 446 kB / 474.2 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.4126, allocations: 48.41 kB / 474.2 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.842e-05/0.4127, allocations: 66.67 kB / 474.3 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.4142, allocations: 0.8078 MB / 475.1 MB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.4142, allocations: 0 / 475.1 MB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.03e-05/0.4143, allocations: 31.25 kB / 475.1 MB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.4143, allocations: 14.47 kB / 475.1 MB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.4159, allocations: 1.029 MB / 476.2 MB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.4322, allocations: 12.77 MB / 488.9 MB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.4339, allocations: 0.7402 MB / 489.7 MB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/0.4344, allocations: 408.6 kB / 490.1 MB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01462/0.449, allocations: 12.25 MB / 0.4906 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.4491, allocations: 45.5 kB / 0.4906 GB, free: 12.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.394e-06/0.4491, allocations: 0 / 0.4906 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.009003/0.4581, allocations: 3.38 MB / 0.4939 GB, free: 11.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.4582, allocations: 64.86 kB / 0.494 GB, free: 11.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.4586, allocations: 358.5 kB / 0.4943 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.4587, allocations: 43.33 kB / 0.4943 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.4588, allocations: 244.9 kB / 0.4946 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.4589, allocations: 301.9 kB / 0.4949 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.4592, allocations: 160.3 kB / 0.495 GB, free: 10.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4593, allocations: 367.4 kB / 0.4954 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.4598, allocations: 371 kB / 0.4957 GB, free: 10.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008078/0.4606, allocations: 493.7 kB / 0.4962 GB, free: 10.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.4621, allocations: 0.9008 MB / 0.4971 GB, free: 10.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4621, allocations: 7.031 kB / 0.4971 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002344/0.4645, allocations: 1.117 MB / 0.4982 GB, free: 9.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4645, allocations: 5.688 kB / 0.4982 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4645, allocations: 4.594 kB / 0.4982 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008/0.4653, allocations: 160.7 kB / 0.4983 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000725/0.4661, allocations: 194 kB / 0.4985 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.4687, allocations: 4.108 MB / 0.5025 GB, free: 5.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.4692, allocations: 27.39 kB / 0.5026 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.721e-05/0.4693, allocations: 43.02 kB / 0.5026 GB, free: 5.914 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {2, 2} * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003416/0.4696, allocations: 234.1 kB / 0.5028 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.47, allocations: 66.19 kB / 0.5029 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.4722, allocations: 1.275 MB / 0.5041 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.4722, allocations: 13.44 kB / 0.5041 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.4722, allocations: 0 / 0.5041 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001706/0.4739, allocations: 1.325 MB / 0.5054 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.4771, allocations: 1.967 MB / 0.5074 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4771, allocations: 0 / 0.5074 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.4778, allocations: 168.4 kB / 0.5075 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001772/0.4796, allocations: 292.4 kB / 0.5078 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.4797, allocations: 27.98 kB / 0.5078 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007724/0.4805, allocations: 1.298 MB / 0.5091 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4805, allocations: 0 / 0.5091 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.483, allocations: 1.409 MB / 0.5105 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.4832, allocations: 129.9 kB / 0.5106 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.736e-05/0.4833, allocations: 21.36 kB / 0.5106 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.4838, allocations: 31.97 kB / 0.5106 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.4839, allocations: 60.86 kB / 0.5107 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.72e-05/0.484, allocations: 43.97 kB / 0.5107 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.4844, allocations: 275 kB / 0.511 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4844, allocations: 0 / 0.511 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004479/0.4889, allocations: 1.398 MB / 0.5124 GB, free: 13.26 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006306/0.4952, allocations: 1.742 MB / 0.5141 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.4975, allocations: 1.161 MB / 0.5152 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4975, allocations: 0 / 0.5152 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008893/0.4984, allocations: 0.4904 MB / 0.5157 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.5004, allocations: 391.5 kB / 0.5161 GB, free: 9.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.5032, allocations: 1.653 MB / 0.5177 GB, free: 7.988 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.5037, allocations: 0.9128 MB / 0.5186 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008493/0.5046, allocations: 205.2 kB / 0.5188 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.5048, allocations: 87.41 kB / 0.5188 GB, free: 6.758 MB / 430.1 MB Notification: Performance of SimCode: time 1.723e-06/0.5048, allocations: 1.422 kB / 0.5188 GB, free: 6.758 MB / 430.1 MB Notification: Performance of Templates: time 0.07043/0.5753, allocations: 51.38 MB / 0.569 GB, free: 3.41 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)