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.001527/0.001527, allocations: 108 kB / 15.6 MB, free: 132 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.001646/0.001646, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.493/1.493, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.001167/0.001167, allocations: 56.22 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.192, allocations: 46.64 MB / 325.3 MB, free: 1.965 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05011/0.2422, allocations: 50.69 MB / 376 MB, free: 1.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006287/0.2485, allocations: 5.203 MB / 381.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.2488, allocations: 11.94 kB / 381.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.2496, allocations: 242.6 kB / 381.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006476/0.2503, allocations: 361.9 kB / 381.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0165/0.2668, allocations: 6.749 MB / 388.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.268, allocations: 1.087 MB / 389.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.2682, allocations: 149.5 kB / 389.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006001/0.2743, allocations: 3.586 MB / 393.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004942/0.2748, allocations: 398.6 kB / 393.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.2749, allocations: 60 kB / 393.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/0.2902, allocations: 9.655 MB / 403.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.2905, allocations: 215.5 kB / 403.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.2909, allocations: 310.8 kB / 404 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009582/0.3005, allocations: 5.481 MB / 409.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3005, allocations: 0 / 409.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3005, allocations: 0 / 409.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3006, allocations: 0 / 409.5 MB, free: 15.62 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00284/0.3034, allocations: 1.353 MB / 410.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3034, allocations: 12.03 kB / 410.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.3038, allocations: 55.52 kB / 410.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.3042, allocations: 365.8 kB / 411.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.3043, allocations: 40.94 kB / 411.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.3043, allocations: 40 kB / 411.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.3055, allocations: 0.5843 MB / 411.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.3056, allocations: 4 kB / 411.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/0.3056, allocations: 16 kB / 411.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3057, allocations: 8 kB / 411.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.307, allocations: 0.7495 MB / 412.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.3229, allocations: 11.97 MB / 424.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.3242, allocations: 0.5352 MB / 425.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.3245, allocations: 254 kB / 425.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/0.3389, allocations: 11.9 MB / 437.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.339, allocations: 43 kB / 437.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.284e-06/0.339, allocations: 0 / 437.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005708/0.3447, allocations: 2.124 MB / 439.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3448, allocations: 55.97 kB / 439.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.3451, allocations: 330.8 kB / 439.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.3452, allocations: 37.7 kB / 439.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3453, allocations: 200.3 kB / 440.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.3455, allocations: 193.3 kB / 440.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3457, allocations: 110.1 kB / 440.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3458, allocations: 346.8 kB / 440.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.3462, allocations: 241 kB / 441 MB, free: 11.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.3468, allocations: 339.4 kB / 441.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.348, allocations: 0.6034 MB / 441.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.348, allocations: 0 / 441.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001789/0.3498, allocations: 0.7517 MB / 442.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3498, allocations: 11.94 kB / 442.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3498, allocations: 0 / 442.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/0.3503, allocations: 118.7 kB / 442.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.3508, allocations: 119.8 kB / 442.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.3533, allocations: 3.472 MB / 446.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.3536, allocations: 20.22 kB / 446.4 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.3536, allocations: 27.98 kB / 446.4 MB, free: 5.609 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 (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.0002415/0.3539, allocations: 193.6 kB / 446.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.3542, allocations: 39.62 kB / 446.7 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.3558, allocations: 0.8267 MB / 447.5 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3558, allocations: 4 kB / 447.5 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3558, allocations: 0 / 447.5 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001128/0.3569, allocations: 0.7596 MB / 448.2 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.359, allocations: 1.298 MB / 449.5 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.359, allocations: 7.938 kB / 449.6 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.3594, allocations: 95.89 kB / 449.6 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009288/0.3604, allocations: 156.5 kB / 449.8 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.3604, allocations: 15.98 kB / 449.8 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003887/0.3608, allocations: 0.6485 MB / 450.5 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3608, allocations: 0 / 450.5 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.3624, allocations: 0.9004 MB / 451.4 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.3625, allocations: 116.7 kB / 451.5 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.339e-05/0.3626, allocations: 12 kB / 451.5 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.363, allocations: 24.05 kB / 451.5 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.3631, allocations: 40.33 kB / 451.6 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.3632, allocations: 31.97 kB / 451.6 MB, free: 212 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1394/0.5026, allocations: 248.9 kB / 451.8 MB, free: 118.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5026, allocations: 0.5625 kB / 451.8 MB, free: 118.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004039/0.5067, allocations: 1.309 MB / 453.1 MB, free: 118 MB / 382.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.004909/0.5116, allocations: 1.699 MB / 454.8 MB, free: 117.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.5132, allocations: 0.8521 MB / 455.7 MB, free: 117.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5132, allocations: 0.9062 kB / 455.7 MB, free: 117.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.5137, allocations: 287.3 kB / 456 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.5152, allocations: 284.5 kB / 456.2 MB, free: 117.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.5168, allocations: 1.107 MB / 457.4 MB, free: 117.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.5171, allocations: 0.8291 MB / 458.2 MB, free: 116.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004823/0.5176, allocations: 143.6 kB / 458.3 MB, free: 116.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.5177, allocations: 59.11 kB / 458.4 MB, free: 116.3 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5177, allocations: 0 / 458.4 MB, free: 116.3 MB / 382.1 MB Notification: Performance of Templates: time 0.04679/0.5645, allocations: 46.39 MB / 0.4929 GB, free: 73.96 MB / 382.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)