Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001206/0.001205, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001299/0.001299, allocations: 59.91 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.202, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06931/0.2713, allocations: 65.73 MB / 391 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007996/0.2794, allocations: 5.46 MB / 396.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005859/0.28, allocations: 4 kB / 396.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.2812, allocations: 353.9 kB / 396.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.2823, allocations: 0.5089 MB / 397.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01757/0.2999, allocations: 7.08 MB / 404.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002279/0.3022, allocations: 1.543 MB / 406 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.3026, allocations: 208.9 kB / 406.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.3039, allocations: 0.6269 MB / 406.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.305, allocations: 0.5722 MB / 407.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.3052, allocations: 84 kB / 407.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01907/0.3243, allocations: 9.931 MB / 417.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005111/0.3249, allocations: 319.3 kB / 417.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007136/0.3256, allocations: 430.4 kB / 418.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.3377, allocations: 5.925 MB / 424 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3377, allocations: 0 / 424 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3377, allocations: 4 kB / 424.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.098e-05/0.3378, allocations: 0 / 424.1 MB, free: 0.8711 MB / 350.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.003892/0.3417, allocations: 1.544 MB / 425.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3417, allocations: 12.03 kB / 425.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004576/0.3422, allocations: 79.23 kB / 425.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.3428, allocations: 448.8 kB / 426.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.3429, allocations: 45.31 kB / 426.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.343, allocations: 60 kB / 426.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.3447, allocations: 0.8107 MB / 427 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.3447, allocations: 7.906 kB / 427 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.3448, allocations: 28 kB / 427.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.3448, allocations: 12 kB / 427.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.3466, allocations: 1.032 MB / 428.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/0.3642, allocations: 12.79 MB / 440.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.366, allocations: 0.7411 MB / 441.6 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005825/0.3666, allocations: 418.8 kB / 442.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.159/0.5256, allocations: 12.24 MB / 454.3 MB, free: 116.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.5257, allocations: 46.31 kB / 454.3 MB, free: 116.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.287e-06/0.5257, allocations: 0.5 kB / 454.3 MB, free: 116.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.009619/0.5353, allocations: 3.379 MB / 457.7 MB, free: 115.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.5354, allocations: 60.59 kB / 457.8 MB, free: 115.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.5358, allocations: 365.1 kB / 458.1 MB, free: 115.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.5359, allocations: 42.55 kB / 458.2 MB, free: 115.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.536, allocations: 237.6 kB / 458.4 MB, free: 115.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.5362, allocations: 311.8 kB / 458.7 MB, free: 115 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.5364, allocations: 157 kB / 458.9 MB, free: 115 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.5365, allocations: 361.7 kB / 459.2 MB, free: 114.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.537, allocations: 369.2 kB / 459.6 MB, free: 114.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/0.5379, allocations: 497.9 kB / 460.1 MB, free: 114.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.5394, allocations: 0.905 MB / 461 MB, free: 113.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.5394, allocations: 2.812 kB / 461 MB, free: 113.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002314/0.5417, allocations: 1.116 MB / 462.1 MB, free: 113.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5418, allocations: 7.469 kB / 462.1 MB, free: 113.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5418, allocations: 3.969 kB / 462.1 MB, free: 113.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007608/0.5426, allocations: 166.2 kB / 462.3 MB, free: 113.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.5432, allocations: 196.1 kB / 462.5 MB, free: 113.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.5451, allocations: 4.109 MB / 466.6 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.5455, allocations: 25.91 kB / 466.6 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.5456, allocations: 44.91 kB / 466.6 MB, free: 109.2 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.0002712/0.5459, allocations: 224.9 kB / 466.9 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.5463, allocations: 63 kB / 466.9 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.5483, allocations: 1.283 MB / 468.2 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.5483, allocations: 11.89 kB / 468.2 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5483, allocations: 3.938 kB / 468.2 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/0.5498, allocations: 1.32 MB / 469.5 MB, free: 107.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.5523, allocations: 1.962 MB / 471.5 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5524, allocations: 1.438 kB / 471.5 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.553, allocations: 169.1 kB / 471.7 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.5547, allocations: 303.9 kB / 472 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.5548, allocations: 29.48 kB / 472 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004621/0.5552, allocations: 1.295 MB / 473.3 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5553, allocations: 0 / 473.3 MB, free: 104.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.5574, allocations: 1.419 MB / 474.7 MB, free: 103.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.957e-05/0.5575, allocations: 122.6 kB / 474.8 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.923e-05/0.5576, allocations: 27.61 kB / 474.8 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.5581, allocations: 26.58 kB / 474.9 MB, free: 103.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.5582, allocations: 54.67 kB / 474.9 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.5583, allocations: 43.97 kB / 475 MB, free: 103.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.5585, allocations: 282.7 kB / 475.2 MB, free: 103.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5585, allocations: 0 / 475.2 MB, free: 103.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002985/0.5615, allocations: 1.39 MB / 476.6 MB, free: 101.9 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.004918/0.5664, allocations: 1.754 MB / 478.4 MB, free: 100.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.5686, allocations: 1.252 MB / 479.6 MB, free: 99.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5686, allocations: 4 kB / 479.6 MB, free: 99.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000721/0.5693, allocations: 0.4959 MB / 480.1 MB, free: 98.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.5711, allocations: 390.1 kB / 480.5 MB, free: 98.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.5733, allocations: 1.664 MB / 482.2 MB, free: 96.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.5736, allocations: 0.9128 MB / 483.1 MB, free: 95.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006571/0.5743, allocations: 201.2 kB / 483.3 MB, free: 95.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.5744, allocations: 75.41 kB / 483.4 MB, free: 95.39 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5744, allocations: 3.938 kB / 483.4 MB, free: 95.39 MB / 382.1 MB Notification: Performance of Templates: time 0.05368/0.6281, allocations: 51.31 MB / 0.5221 GB, free: 44.02 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)