Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001634/0.001634, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00202/0.00202, allocations: 195.1 kB / 16.26 MB, free: 6.621 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.342/1.342, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001146/0.001146, allocations: 43.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1882, allocations: 46.64 MB / 324.8 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05118/0.2394, allocations: 50.61 MB / 375.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00572/0.2452, allocations: 5.192 MB / 380.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.2454, allocations: 4 kB / 380.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006576/0.2461, allocations: 222.9 kB / 380.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005391/0.2467, allocations: 342.2 kB / 381.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.2616, allocations: 6.095 MB / 387.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.263, allocations: 1.095 MB / 388.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.2633, allocations: 137.6 kB / 388.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00623/0.2695, allocations: 3.745 MB / 392.3 MB, free: 452 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.2701, allocations: 426.6 kB / 392.7 MB, free: 24 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.2702, allocations: 56.05 kB / 392.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01532/0.2855, allocations: 9.779 MB / 402.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.2858, allocations: 223.5 kB / 402.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003925/0.2862, allocations: 314.8 kB / 403 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.2969, allocations: 5.602 MB / 408.6 MB, free: 36 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2969, allocations: 0 / 408.6 MB, free: 36 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.297, allocations: 0 / 408.6 MB, free: 36 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.297, allocations: 0 / 408.6 MB, free: 36 kB / 334.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.002903/0.2999, allocations: 1.353 MB / 410 MB, free: 14.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2999, allocations: 12.03 kB / 410 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.3002, allocations: 55.52 kB / 410.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.3007, allocations: 365.8 kB / 410.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3007, allocations: 33 kB / 410.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.3008, allocations: 40 kB / 410.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.302, allocations: 0.5882 MB / 411.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.302, allocations: 0 / 411.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.3021, allocations: 16 kB / 411.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3021, allocations: 19.98 kB / 411.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.3034, allocations: 0.7456 MB / 411.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.3187, allocations: 11.97 MB / 423.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.3199, allocations: 0.5235 MB / 424.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.3203, allocations: 258 kB / 424.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01447/0.3348, allocations: 11.89 MB / 436.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.88e-05/0.3349, allocations: 43 kB / 436.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.352e-05/0.3349, allocations: 0 / 436.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005722/0.3406, allocations: 2.12 MB / 438.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3407, allocations: 67.91 kB / 438.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.341, allocations: 318.9 kB / 439 MB, free: 13.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.3411, allocations: 37.7 kB / 439.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3412, allocations: 200.3 kB / 439.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3414, allocations: 189.3 kB / 439.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.3415, allocations: 114.1 kB / 439.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3417, allocations: 350.8 kB / 439.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.3421, allocations: 241 kB / 440.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/0.3427, allocations: 343.3 kB / 440.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3437, allocations: 0.5956 MB / 441.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3437, allocations: 0 / 441.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001685/0.3454, allocations: 0.7556 MB / 441.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3455, allocations: 7.938 kB / 441.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3455, allocations: 4 kB / 441.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004697/0.346, allocations: 110.7 kB / 441.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.3464, allocations: 123.9 kB / 442.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.3488, allocations: 3.48 MB / 445.5 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.3492, allocations: 27.98 kB / 445.6 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.3492, allocations: 31.98 kB / 445.6 MB, free: 6.035 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.0002566/0.3495, allocations: 197.7 kB / 445.8 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.3498, allocations: 47.53 kB / 445.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.3513, allocations: 0.8152 MB / 446.7 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.3513, allocations: 4 kB / 446.7 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3513, allocations: 0 / 446.7 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.3524, allocations: 0.7635 MB / 447.4 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.3543, allocations: 1.302 MB / 448.7 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3544, allocations: 0 / 448.7 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.3548, allocations: 99.83 kB / 448.8 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009214/0.3557, allocations: 152.6 kB / 449 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.3558, allocations: 19.98 kB / 449 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000363/0.3562, allocations: 0.6406 MB / 449.6 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3562, allocations: 4.031 kB / 449.6 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.3577, allocations: 0.916 MB / 450.6 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.3579, allocations: 116.7 kB / 450.7 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.358, allocations: 12 kB / 450.7 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.3584, allocations: 31.97 kB / 450.7 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.3585, allocations: 32.39 kB / 450.7 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/0.3585, allocations: 35.97 kB / 450.8 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002525/0.3588, allocations: 249.9 kB / 451 MB, free: 380 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3588, allocations: 0 / 451 MB, free: 380 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.1304/0.4892, allocations: 1.304 MB / 452.3 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.00523/0.4944, allocations: 1.724 MB / 454.1 MB, free: 117.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.4962, allocations: 0.8494 MB / 454.9 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.4963, allocations: 1.094 kB / 454.9 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.4968, allocations: 282.6 kB / 455.2 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.001394/0.4982, allocations: 280.2 kB / 455.5 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.5002, allocations: 1.266 MB / 456.7 MB, free: 117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.5005, allocations: 0.8318 MB / 457.5 MB, free: 116.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005362/0.501, allocations: 158.5 kB / 457.7 MB, free: 116.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.5011, allocations: 54.14 kB / 457.8 MB, free: 116.2 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5012, allocations: 3.906 kB / 457.8 MB, free: 116.2 MB / 382.1 MB Notification: Performance of Templates: time 0.04582/0.547, allocations: 46.32 MB / 0.4923 GB, free: 74.36 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)