Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001276/0.001276, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.0012/0.0012, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.336/1.336, allocations: 205.1 MB / 223.7 MB, free: 12.34 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.001257/0.001257, allocations: 43.94 kB / 280 MB, free: 3.195 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08823/0.0895, allocations: 46.64 MB / 326.6 MB, free: 4.488 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2158/0.3053, allocations: 65.71 MB / 392.3 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005676/0.3111, allocations: 5.467 MB / 397.8 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.3113, allocations: 6.562 kB / 397.8 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.3122, allocations: 357.4 kB / 398.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00069/0.3129, allocations: 0.5096 MB / 398.7 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01427/0.3272, allocations: 7.078 MB / 405.7 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.329, allocations: 1.55 MB / 407.3 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.3293, allocations: 216.6 kB / 407.5 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008186/0.3302, allocations: 0.6207 MB / 408.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.3308, allocations: 0.5659 MB / 408.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.3309, allocations: 81.78 kB / 408.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01582/0.3467, allocations: 9.923 MB / 418.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003845/0.3471, allocations: 325.2 kB / 419 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.3477, allocations: 429.9 kB / 419.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.3583, allocations: 5.929 MB / 425.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3583, allocations: 0 / 425.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3583, allocations: 0 / 425.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3583, allocations: 0 / 425.4 MB, free: 14.51 MB / 334.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.003323/0.3617, allocations: 1.544 MB / 426.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3617, allocations: 8.031 kB / 426.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/0.3622, allocations: 91.78 kB / 427 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/0.3627, allocations: 438.2 kB / 427.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.3628, allocations: 45.31 kB / 427.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.3629, allocations: 72 kB / 427.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.3645, allocations: 0.8068 MB / 428.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.3646, allocations: 3.906 kB / 428.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.3647, allocations: 28 kB / 428.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3647, allocations: 16 kB / 428.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.3665, allocations: 1.028 MB / 429.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.3835, allocations: 12.8 MB / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.3852, allocations: 0.741 MB / 443 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/0.3858, allocations: 412 kB / 443.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01522/0.401, allocations: 12.25 MB / 455.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/0.4011, allocations: 44.03 kB / 455.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 4.328e-06/0.4011, allocations: 0 / 455.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.00999/0.4111, allocations: 3.39 MB / 459 MB, free: 8.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.4112, allocations: 60.41 kB / 459.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.4117, allocations: 356.5 kB / 459.5 MB, free: 7.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.4118, allocations: 49.7 kB / 459.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.412, allocations: 236.6 kB / 459.7 MB, free: 7.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.4122, allocations: 301.9 kB / 460 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.4124, allocations: 166.5 kB / 460.2 MB, free: 7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4126, allocations: 362.8 kB / 460.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/0.4132, allocations: 373.8 kB / 460.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009273/0.4141, allocations: 494.3 kB / 461.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.4158, allocations: 0.9008 MB / 462.3 MB, free: 4.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4158, allocations: 0 / 462.3 MB, free: 4.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002486/0.4183, allocations: 1.113 MB / 463.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4183, allocations: 7.938 kB / 463.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4184, allocations: 8.266 kB / 463.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008474/0.4192, allocations: 167.3 kB / 463.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.42, allocations: 191.7 kB / 463.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.423, allocations: 4.109 MB / 467.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.4234, allocations: 20.25 kB / 467.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.84e-05/0.4236, allocations: 47.97 kB / 467.9 MB, free: 14.81 MB / 382.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.0003945/0.424, allocations: 225.6 kB / 468.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004414/0.4244, allocations: 71.31 kB / 468.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.4269, allocations: 1.281 MB / 469.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.4269, allocations: 8 kB / 469.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4269, allocations: 4 kB / 469.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001852/0.4288, allocations: 1.32 MB / 470.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.432, allocations: 1.977 MB / 472.8 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.432, allocations: 0 / 472.8 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/0.4327, allocations: 163.8 kB / 473 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.4345, allocations: 293.2 kB / 473.3 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.4346, allocations: 31.98 kB / 473.3 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008011/0.4354, allocations: 1.285 MB / 474.6 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.4355, allocations: 4.031 kB / 474.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.438, allocations: 1.421 MB / 476 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.4382, allocations: 124.6 kB / 476.1 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4383, allocations: 20 kB / 476.2 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/0.4388, allocations: 27.98 kB / 476.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4389, allocations: 60.91 kB / 476.2 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.439, allocations: 39.97 kB / 476.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003134/0.4394, allocations: 279 kB / 476.6 MB, free: 5.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4394, allocations: 4 kB / 476.6 MB, free: 5.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003577/0.443, allocations: 1.394 MB / 478 MB, free: 4.484 MB / 382.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.005653/0.4486, allocations: 1.746 MB / 479.7 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.4513, allocations: 1.265 MB / 481 MB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.4514, allocations: 4 kB / 481 MB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008856/0.4523, allocations: 0.4912 MB / 481.5 MB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.4542, allocations: 384.4 kB / 481.8 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.4569, allocations: 1.665 MB / 483.5 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.4575, allocations: 0.9089 MB / 484.4 MB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007634/0.4582, allocations: 209.2 kB / 484.6 MB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.4585, allocations: 83.41 kB / 484.7 MB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4585, allocations: 0 / 484.7 MB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.07316/0.5316, allocations: 51.31 MB / 0.5234 GB, free: 10.41 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)