Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008114/0.0008113, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006424/0.006424, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.467/1.467, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.0004811/0.0004814, allocations: 12 kB / 279.5 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3209, allocations: 47.58 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4804/0.8014, allocations: 182.8 MB / 0.4979 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005256/0.8067, allocations: 4.813 MB / 0.5026 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004499/0.8072, allocations: 6.688 kB / 0.5026 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007429/0.8079, allocations: 213.5 kB / 0.5028 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007477/0.8087, allocations: 361 kB / 0.5031 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00789/0.8166, allocations: 2.525 MB / 0.5056 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.8184, allocations: 1.667 MB / 0.5072 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.8187, allocations: 113.8 kB / 0.5073 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/0.8219, allocations: 1.285 MB / 0.5086 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.8225, allocations: 432 kB / 0.509 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.8226, allocations: 28.16 kB / 0.509 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007499/0.8301, allocations: 4.297 MB / 0.5132 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.8305, allocations: 197.3 kB / 0.5134 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004804/0.8309, allocations: 307.1 kB / 0.5137 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006293/0.8373, allocations: 2.946 MB / 0.5166 GB, free: 5.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8373, allocations: 0 / 0.5166 GB, free: 5.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.8373, allocations: 4 kB / 0.5166 GB, free: 5.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.8373, allocations: 0 / 0.5166 GB, free: 5.625 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002223/0.8395, allocations: 1.033 MB / 0.5176 GB, free: 4.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.8396, allocations: 9.844 kB / 0.5176 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/0.8399, allocations: 70.66 kB / 0.5176 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.8404, allocations: 356.5 kB / 0.518 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.8404, allocations: 36.19 kB / 0.518 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/0.8405, allocations: 48.72 kB / 0.5181 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.8414, allocations: 0.5024 MB / 0.5186 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.8414, allocations: 7.938 kB / 0.5186 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.8415, allocations: 20.22 kB / 0.5186 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.8415, allocations: 11.34 kB / 0.5186 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/0.8424, allocations: 0.5941 MB / 0.5192 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.8454, allocations: 2.177 MB / 0.5213 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.8465, allocations: 0.5573 MB / 0.5218 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.8469, allocations: 260.4 kB / 0.5221 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/0.8475, allocations: 0.6968 MB / 0.5228 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.8475, allocations: 44.81 kB / 0.5228 GB, free: 1.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 2.004e-06/0.8475, allocations: 0 / 0.5228 GB, free: 1.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.01441/0.8619, allocations: 3.813 MB / 0.5265 GB, free: 13.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.862, allocations: 59.95 kB / 0.5266 GB, free: 13.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.8623, allocations: 298.6 kB / 0.5269 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.8624, allocations: 37.7 kB / 0.5269 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.8625, allocations: 189.2 kB / 0.5271 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.8627, allocations: 231 kB / 0.5273 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.8628, allocations: 53.69 kB / 0.5274 GB, free: 12.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.8629, allocations: 346.8 kB / 0.5277 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.8636, allocations: 325.1 kB / 0.528 GB, free: 11.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/0.8644, allocations: 392.2 kB / 0.5284 GB, free: 11.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.8658, allocations: 0.7203 MB / 0.5291 GB, free: 10.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8658, allocations: 0 / 0.5291 GB, free: 10.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0021/0.8679, allocations: 0.9756 MB / 0.53 GB, free: 9.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.868, allocations: 8 kB / 0.5301 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.868, allocations: 0 / 0.5301 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.8696, allocations: 358.3 kB / 0.5304 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.8702, allocations: 115.9 kB / 0.5305 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/0.8735, allocations: 3.537 MB / 0.534 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006854/0.8742, allocations: 65.91 kB / 0.534 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/0.8743, allocations: 23.98 kB / 0.534 GB, free: 5.461 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.8746, allocations: 197.8 kB / 0.5342 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.8747, allocations: 43.47 kB / 0.5343 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.8772, allocations: 1.044 MB / 0.5353 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.8772, allocations: 12 kB / 0.5353 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.8772, allocations: 0 / 0.5353 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002049/0.8792, allocations: 1.089 MB / 0.5364 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.8823, allocations: 1.715 MB / 0.538 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8823, allocations: 0 / 0.538 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.8828, allocations: 119.8 kB / 0.5382 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.8848, allocations: 395.8 kB / 0.5385 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.8849, allocations: 27.92 kB / 0.5386 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.8864, allocations: 0.8763 MB / 0.5394 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.8864, allocations: 4.031 kB / 0.5394 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.8892, allocations: 1.36 MB / 0.5408 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.8894, allocations: 128.6 kB / 0.5409 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.8895, allocations: 12 kB / 0.5409 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000676/0.8901, allocations: 59.95 kB / 0.5409 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.8903, allocations: 50.17 kB / 0.541 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.8903, allocations: 31.92 kB / 0.541 GB, free: 14.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002618/0.8906, allocations: 229.9 kB / 0.5412 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8906, allocations: 0 / 0.5412 GB, free: 13.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001513/0.8921, allocations: 447.6 kB / 0.5417 GB, free: 13.44 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/0.8935, allocations: 0.5773 MB / 0.5422 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002136/0.8956, allocations: 1.015 MB / 0.5432 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8956, allocations: 0 / 0.5432 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008641/0.8965, allocations: 419.2 kB / 0.5436 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.8981, allocations: 292.5 kB / 0.5439 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.901, allocations: 1.583 MB / 0.5454 GB, free: 9.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.9014, allocations: 0.861 MB / 0.5463 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000576/0.902, allocations: 132.5 kB / 0.5464 GB, free: 8.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.9022, allocations: 51.42 kB / 0.5465 GB, free: 8.48 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.9022, allocations: 0 / 0.5465 GB, free: 8.48 MB / 430.1 MB Notification: Performance of Templates: time 0.03286/0.9351, allocations: 21.15 MB / 0.5671 GB, free: 3.32 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)