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.007497/0.007498, 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.001367/0.001367, allocations: 191.3 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.374/1.374, 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.001399/0.001399, allocations: 51.92 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08345, allocations: 46.62 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2274/0.3109, allocations: 65.73 MB / 438.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006606/0.3175, allocations: 5.449 MB / 444.4 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.3179, allocations: 8 kB / 444.4 MB, free: 8.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009274/0.3188, allocations: 353.9 kB / 444.7 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008381/0.3197, allocations: 0.5128 MB / 445.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01873/0.3384, allocations: 7.112 MB / 452.3 MB, free: 320 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002001/0.3404, allocations: 1.547 MB / 453.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.3408, allocations: 210.3 kB / 454.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.3416, allocations: 0.6347 MB / 454.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006546/0.3423, allocations: 0.5722 MB / 455.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.3424, allocations: 80 kB / 455.4 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01783/0.3602, allocations: 10.1 MB / 465.5 MB, free: 3.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.3607, allocations: 315.3 kB / 465.8 MB, free: 2.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005723/0.3613, allocations: 442.3 kB / 466.2 MB, free: 2.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.3751, allocations: 5.914 MB / 472.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3751, allocations: 0 / 472.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3751, allocations: 0 / 472.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.373e-05/0.3752, allocations: 0 / 472.1 MB, free: 12.48 MB / 398.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.003763/0.3789, allocations: 1.56 MB / 473.7 MB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.379, allocations: 11.97 kB / 473.7 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004666/0.3795, allocations: 83.23 kB / 473.8 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/0.3802, allocations: 459.2 kB / 474.2 MB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.3802, allocations: 45.31 kB / 474.3 MB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.3803, allocations: 64 kB / 474.3 MB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.3822, allocations: 0.8068 MB / 475.2 MB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.3822, allocations: 0 / 475.2 MB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/0.3823, allocations: 31.98 kB / 475.2 MB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.3823, allocations: 19.94 kB / 475.2 MB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.3842, allocations: 1.024 MB / 476.2 MB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.4013, allocations: 12.78 MB / 489 MB, free: 9.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.4031, allocations: 0.7449 MB / 489.7 MB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006076/0.4038, allocations: 410.6 kB / 490.1 MB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01529/0.4191, allocations: 12.24 MB / 0.4906 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/0.4192, allocations: 43.59 kB / 0.4907 GB, free: 9.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.795e-06/0.4192, allocations: 4 kB / 0.4907 GB, free: 9.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.01021/0.4294, allocations: 3.387 MB / 0.494 GB, free: 6.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4295, allocations: 64.39 kB / 0.494 GB, free: 5.992 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.43, allocations: 356.5 kB / 0.4944 GB, free: 5.637 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.4301, allocations: 45.7 kB / 0.4944 GB, free: 5.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.4303, allocations: 236.7 kB / 0.4946 GB, free: 5.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.4305, allocations: 311.5 kB / 0.4949 GB, free: 5.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.4308, allocations: 158.6 kB / 0.4951 GB, free: 4.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4309, allocations: 358.8 kB / 0.4954 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.4315, allocations: 373.8 kB / 0.4958 GB, free: 4.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009707/0.4325, allocations: 492.2 kB / 0.4963 GB, free: 3.645 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.4343, allocations: 0.9021 MB / 0.4971 GB, free: 2.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4343, allocations: 0 / 0.4971 GB, free: 2.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002685/0.437, allocations: 1.121 MB / 0.4982 GB, free: 1.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4371, allocations: 7.938 kB / 0.4982 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4371, allocations: 4 kB / 0.4982 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008375/0.4379, allocations: 167.5 kB / 0.4984 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.4387, allocations: 191.8 kB / 0.4986 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.4418, allocations: 4.124 MB / 0.5026 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.4422, allocations: 16 kB / 0.5026 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.4423, allocations: 43.98 kB / 0.5027 GB, free: 12.69 MB / 446.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.0003603/0.4427, allocations: 229.6 kB / 0.5029 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.4431, allocations: 59.44 kB / 0.5029 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.4455, allocations: 1.288 MB / 0.5042 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4456, allocations: 8 kB / 0.5042 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4456, allocations: 0 / 0.5042 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0018/0.4474, allocations: 1.32 MB / 0.5055 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.4506, allocations: 1.96 MB / 0.5074 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4506, allocations: 0 / 0.5074 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/0.4513, allocations: 167.7 kB / 0.5076 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/0.4531, allocations: 293.2 kB / 0.5078 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/0.4532, allocations: 27.98 kB / 0.5079 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007985/0.454, allocations: 1.293 MB / 0.5091 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.454, allocations: 0 / 0.5091 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.4566, allocations: 1.425 MB / 0.5105 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.4568, allocations: 128.4 kB / 0.5107 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.4569, allocations: 24 kB / 0.5107 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/0.4575, allocations: 31.97 kB / 0.5107 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.4575, allocations: 52.92 kB / 0.5108 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/0.4576, allocations: 43.97 kB / 0.5108 GB, free: 4.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003142/0.458, allocations: 279 kB / 0.5111 GB, free: 3.742 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.458, allocations: 4 kB / 0.5111 GB, free: 3.738 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00409/0.4621, allocations: 1.394 MB / 0.5124 GB, free: 2.344 MB / 446.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.005991/0.4681, allocations: 1.742 MB / 0.5141 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.4704, allocations: 1.156 MB / 0.5153 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.4704, allocations: 4 kB / 0.5153 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009003/0.4713, allocations: 491.2 kB / 0.5157 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.4732, allocations: 389.7 kB / 0.5161 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.476, allocations: 1.669 MB / 0.5177 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.4765, allocations: 0.9128 MB / 0.5186 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007301/0.4773, allocations: 205.2 kB / 0.5188 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.4775, allocations: 83.41 kB / 0.5189 GB, free: 11.61 MB / 462.1 MB Notification: Performance of SimCode: time 1.933e-06/0.4775, allocations: 3.938 kB / 0.5189 GB, free: 11.61 MB / 462.1 MB Notification: Performance of Templates: time 0.2386/0.7161, allocations: 51.39 MB / 0.5691 GB, free: 152.4 MB / 478.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)