Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007963/0.007963, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001767/0.001767, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.341/1.341, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.001168/0.001168, allocations: 55.88 kB / 326.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08802, allocations: 46.61 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2374/0.3254, allocations: 50.7 MB / 423.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006974/0.3325, allocations: 5.196 MB / 429.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.3329, allocations: 3.406 kB / 429.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008787/0.3339, allocations: 249 kB / 429.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008705/0.3348, allocations: 362.5 kB / 429.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02008/0.3549, allocations: 6.765 MB / 436.4 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.3564, allocations: 1.091 MB / 437.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.3567, allocations: 149.5 kB / 437.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006762/0.3635, allocations: 3.593 MB / 441.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.3641, allocations: 402.6 kB / 441.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.3642, allocations: 63.94 kB / 441.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02007/0.3842, allocations: 9.811 MB / 451.5 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.3847, allocations: 231.5 kB / 451.7 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.3853, allocations: 299 kB / 452 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.4006, allocations: 5.485 MB / 457.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4007, allocations: 0 / 457.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4007, allocations: 0 / 457.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4007, allocations: 0 / 457.5 MB, free: 11.3 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003479/0.4042, allocations: 1.35 MB / 458.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4043, allocations: 8.031 kB / 458.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.4046, allocations: 63.44 kB / 458.9 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.4052, allocations: 377.8 kB / 459.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.4053, allocations: 29 kB / 459.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.4054, allocations: 44 kB / 459.4 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.4067, allocations: 0.5843 MB / 460 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.4067, allocations: 0 / 460 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/0.4068, allocations: 19.98 kB / 460 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.4068, allocations: 12.88 kB / 460 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.4081, allocations: 0.7417 MB / 460.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01616/0.4243, allocations: 11.98 MB / 472.7 MB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.4256, allocations: 0.5239 MB / 473.2 MB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.426, allocations: 250.1 kB / 473.5 MB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01485/0.4409, allocations: 11.9 MB / 485.4 MB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.441, allocations: 43 kB / 485.4 MB, free: 10.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.434e-06/0.441, allocations: 4 kB / 485.4 MB, free: 10.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005913/0.4469, allocations: 2.117 MB / 487.5 MB, free: 8.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.447, allocations: 55.97 kB / 487.6 MB, free: 8.633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.4473, allocations: 315 kB / 487.9 MB, free: 8.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.4474, allocations: 41.64 kB / 488 MB, free: 8.266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.4475, allocations: 204.3 kB / 488.1 MB, free: 8.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.4477, allocations: 189.2 kB / 488.3 MB, free: 7.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.4479, allocations: 110.2 kB / 488.4 MB, free: 7.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.448, allocations: 346.8 kB / 488.8 MB, free: 7.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.4484, allocations: 245 kB / 489 MB, free: 7.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.449, allocations: 339.3 kB / 489.4 MB, free: 6.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.4502, allocations: 0.6034 MB / 490 MB, free: 6.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4502, allocations: 0 / 490 MB, free: 6.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001793/0.452, allocations: 0.7478 MB / 490.7 MB, free: 5.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.452, allocations: 4 kB / 490.7 MB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.452, allocations: 8.688 kB / 490.7 MB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005113/0.4526, allocations: 114.7 kB / 490.8 MB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.4531, allocations: 119.9 kB / 490.9 MB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.4557, allocations: 3.48 MB / 494.4 MB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.456, allocations: 12 kB / 494.4 MB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/0.4561, allocations: 36.17 kB / 494.5 MB, free: 1.328 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002591/0.4564, allocations: 197.4 kB / 494.7 MB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.4567, allocations: 51.47 kB / 494.7 MB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.4581, allocations: 0.8151 MB / 495.5 MB, free: 232 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.4582, allocations: 8 kB / 495.5 MB, free: 224 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.4582, allocations: 0 / 495.5 MB, free: 224 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/0.4593, allocations: 0.7596 MB / 496.3 MB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.4613, allocations: 1.297 MB / 497.6 MB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4613, allocations: 0 / 497.6 MB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.4618, allocations: 99.83 kB / 497.7 MB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008895/0.4627, allocations: 148.7 kB / 497.8 MB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.4627, allocations: 23.92 kB / 497.9 MB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003747/0.4631, allocations: 0.6445 MB / 498.5 MB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4631, allocations: 4.031 kB / 498.5 MB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.4647, allocations: 0.9053 MB / 499.4 MB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.4648, allocations: 116.8 kB / 499.5 MB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.4649, allocations: 15.94 kB / 499.5 MB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.4653, allocations: 19.98 kB / 499.6 MB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.4654, allocations: 36.38 kB / 499.6 MB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.4654, allocations: 27.98 kB / 499.6 MB, free: 11.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002763/0.4657, allocations: 257.9 kB / 499.9 MB, free: 11.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4657, allocations: 0 / 499.9 MB, free: 11.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003661/0.4694, allocations: 1.308 MB / 0.4894 GB, free: 10.36 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005334/0.4747, allocations: 1.709 MB / 0.4911 GB, free: 8.648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.4763, allocations: 0.8036 MB / 0.4919 GB, free: 7.812 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4763, allocations: 0 / 0.4919 GB, free: 7.812 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.4768, allocations: 291.2 kB / 0.4922 GB, free: 7.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.4783, allocations: 265.7 kB / 0.4924 GB, free: 7.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.4802, allocations: 1.103 MB / 0.4935 GB, free: 6.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.4807, allocations: 0.8326 MB / 0.4943 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004933/0.4812, allocations: 148.3 kB / 0.4945 GB, free: 5.117 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.4814, allocations: 63.41 kB / 0.4945 GB, free: 5.059 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4814, allocations: 0 / 0.4945 GB, free: 5.059 MB / 430.1 MB Notification: Performance of Templates: time 0.06174/0.5431, allocations: 46.4 MB / 0.5398 GB, free: 6.57 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)