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.0008484/0.0008484, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005557/0.005557, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.331/1.331, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004242/0.0004243, allocations: 16 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2175, allocations: 47.59 MB / 327 MB, free: 1.363 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05338/0.2709, allocations: 51.28 MB / 378.3 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006555/0.2775, allocations: 5.216 MB / 383.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/0.2779, allocations: 0 / 383.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000811/0.2788, allocations: 214.9 kB / 383.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000984/0.2798, allocations: 354.2 kB / 384.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01573/0.2955, allocations: 5.599 MB / 389.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.2972, allocations: 1.61 MB / 391.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.2974, allocations: 110.1 kB / 391.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006341/0.3038, allocations: 3.647 MB / 395 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.3044, allocations: 410.6 kB / 395.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.3045, allocations: 27.94 kB / 395.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01566/0.3202, allocations: 9.946 MB / 405.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.3205, allocations: 195.5 kB / 405.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.3209, allocations: 296.5 kB / 405.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00982/0.3307, allocations: 5.539 MB / 411.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3307, allocations: 0 / 411.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3308, allocations: 0 / 411.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3308, allocations: 4 kB / 411.4 MB, free: 14.7 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.002781/0.3336, allocations: 1.236 MB / 412.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3336, allocations: 8.031 kB / 412.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.3339, allocations: 67.42 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.3344, allocations: 365.9 kB / 413.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.3344, allocations: 33 kB / 413.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.3345, allocations: 44 kB / 413.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.3357, allocations: 0.5843 MB / 413.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.3358, allocations: 0 / 413.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/0.3358, allocations: 16 kB / 413.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.3359, allocations: 12 kB / 413.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.3372, allocations: 0.7456 MB / 414.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/0.3528, allocations: 12.02 MB / 426.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.3541, allocations: 0.5314 MB / 427.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.3544, allocations: 258 kB / 427.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.014/0.3684, allocations: 11.95 MB / 439.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.3685, allocations: 42.98 kB / 439.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.334e-06/0.3685, allocations: 0 / 439.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005611/0.3741, allocations: 2.136 MB / 441.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.3742, allocations: 55.97 kB / 441.5 MB, free: 12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.3745, allocations: 319 kB / 441.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.3746, allocations: 33.7 kB / 441.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.3747, allocations: 208.3 kB / 442.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.3749, allocations: 189.2 kB / 442.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.375, allocations: 53.62 kB / 442.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3751, allocations: 350.7 kB / 442.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.3755, allocations: 237 kB / 442.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.3761, allocations: 347.3 kB / 443.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.3772, allocations: 0.5917 MB / 443.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3772, allocations: 0 / 443.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001729/0.3789, allocations: 0.7595 MB / 444.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.379, allocations: 11.94 kB / 444.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.379, allocations: 0 / 444.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/0.3795, allocations: 110.7 kB / 444.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.38, allocations: 119.9 kB / 444.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.3823, allocations: 3.279 MB / 448.1 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.3827, allocations: 35.83 kB / 448.1 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.3827, allocations: 36.08 kB / 448.2 MB, free: 4.949 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.000243/0.383, allocations: 185.7 kB / 448.3 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.3833, allocations: 51.52 kB / 448.4 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.3848, allocations: 0.8112 MB / 449.2 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.3848, allocations: 8 kB / 449.2 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3848, allocations: 0 / 449.2 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.3859, allocations: 0.7673 MB / 450 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.3879, allocations: 1.302 MB / 451.3 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3879, allocations: 0 / 451.3 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.3883, allocations: 99.83 kB / 451.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009052/0.3892, allocations: 152.7 kB / 451.5 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.3893, allocations: 19.98 kB / 451.5 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003685/0.3897, allocations: 0.6444 MB / 452.2 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3897, allocations: 3.938 kB / 452.2 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2284/0.6181, allocations: 0.9027 MB / 453.1 MB, free: 117.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.6184, allocations: 126.3 kB / 453.2 MB, free: 117.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.6186, allocations: 16.08 kB / 453.2 MB, free: 117.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008559/0.6195, allocations: 38.25 kB / 453.3 MB, free: 117.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.6196, allocations: 33.98 kB / 453.3 MB, free: 117.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.6198, allocations: 29.8 kB / 453.3 MB, free: 117.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00057/0.6203, allocations: 255.1 kB / 453.6 MB, free: 117.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6204, allocations: 0.5 kB / 453.6 MB, free: 117.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005589/0.626, allocations: 1.309 MB / 454.9 MB, free: 117.1 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.008877/0.6349, allocations: 1.698 MB / 456.6 MB, free: 116.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.6375, allocations: 0.8044 MB / 457.4 MB, free: 116.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.6376, allocations: 0.9688 kB / 457.4 MB, free: 116.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009898/0.6386, allocations: 284.1 kB / 457.7 MB, free: 116.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.6412, allocations: 274.9 kB / 457.9 MB, free: 116.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.644, allocations: 1.339 MB / 459.3 MB, free: 116.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.6443, allocations: 0.8412 MB / 460.1 MB, free: 115.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009517/0.6453, allocations: 150.3 kB / 460.3 MB, free: 115.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.6455, allocations: 53.95 kB / 460.3 MB, free: 115.3 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6456, allocations: 0 / 460.3 MB, free: 115.3 MB / 382.1 MB Notification: Performance of Templates: time 0.055/0.7006, allocations: 45.74 MB / 0.4942 GB, free: 73.36 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)