Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.000946/0.0009462, allocations: 91.2 kB / 16.65 MB, free: 6.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.0009916/0.0009919, allocations: 185.2 kB / 17.57 MB, free: 6.203 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.32/1.32, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.0004314/0.0004314, allocations: 8.938 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07789/0.07834, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05345/0.1318, allocations: 51.28 MB / 379.6 MB, free: 304 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1561/0.288, allocations: 5.191 MB / 384.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004149/0.2885, allocations: 5.875 kB / 384.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007449/0.2892, allocations: 225.2 kB / 385 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000771/0.29, allocations: 347.2 kB / 385.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01348/0.3035, allocations: 5.601 MB / 391 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.3051, allocations: 1.605 MB / 392.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.3053, allocations: 114.5 kB / 392.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005912/0.3112, allocations: 3.656 MB / 396.3 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.3118, allocations: 407.5 kB / 396.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.3118, allocations: 25.03 kB / 396.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01539/0.3272, allocations: 9.953 MB / 406.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.3276, allocations: 193.9 kB / 406.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.328, allocations: 293.5 kB / 407.2 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.3391, allocations: 5.537 MB / 412.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3391, allocations: 0 / 412.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3392, allocations: 0 / 412.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3392, allocations: 0 / 412.7 MB, free: 5.062 MB / 318.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.002742/0.3419, allocations: 1.246 MB / 414 MB, free: 4.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.342, allocations: 8.844 kB / 414 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.3423, allocations: 55.78 kB / 414 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.3426, allocations: 366 kB / 414.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3427, allocations: 33.78 kB / 414.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.3427, allocations: 47.05 kB / 414.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.3438, allocations: 0.5846 MB / 415 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3439, allocations: 0 / 415 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.3439, allocations: 21.56 kB / 415.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3439, allocations: 8 kB / 415.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.3451, allocations: 0.7448 MB / 415.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01456/0.3596, allocations: 12.02 MB / 427.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.3609, allocations: 0.5382 MB / 428.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.3613, allocations: 259.8 kB / 428.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01407/0.3754, allocations: 11.95 MB / 440.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.3754, allocations: 43 kB / 440.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.575e-06/0.3754, allocations: 0 / 440.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.00554/0.381, allocations: 2.128 MB / 442.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.381, allocations: 63.95 kB / 442.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.3814, allocations: 314.9 kB / 443.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.3815, allocations: 37.7 kB / 443.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.3816, allocations: 204.4 kB / 443.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.3817, allocations: 195.4 kB / 443.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.3818, allocations: 53.69 kB / 443.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.382, allocations: 346.8 kB / 443.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.3823, allocations: 236.8 kB / 444.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.3829, allocations: 349.9 kB / 444.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.3841, allocations: 0.597 MB / 445.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3841, allocations: 0 / 445.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001732/0.3858, allocations: 0.7575 MB / 445.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3859, allocations: 11.94 kB / 445.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3859, allocations: 2.812 kB / 445.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004587/0.3863, allocations: 102.5 kB / 446 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.3868, allocations: 126.3 kB / 446.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.3891, allocations: 3.272 MB / 449.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.3895, allocations: 35.98 kB / 449.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/0.3896, allocations: 35.98 kB / 449.4 MB, free: 13.08 MB / 366.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.0002387/0.3898, allocations: 189.6 kB / 449.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.3901, allocations: 47.53 kB / 449.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.3916, allocations: 0.8203 MB / 450.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3916, allocations: 4 kB / 450.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3916, allocations: 0 / 450.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/0.3927, allocations: 0.7659 MB / 451.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.3947, allocations: 1.3 MB / 452.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3947, allocations: 4.062 kB / 452.6 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.3951, allocations: 95.89 kB / 452.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008992/0.396, allocations: 152.6 kB / 452.8 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.3961, allocations: 15.98 kB / 452.8 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003876/0.3965, allocations: 0.6483 MB / 453.5 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3965, allocations: 0 / 453.5 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.3981, allocations: 0.9044 MB / 454.4 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.3982, allocations: 128.7 kB / 454.5 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.3983, allocations: 15.94 kB / 454.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.3987, allocations: 40.05 kB / 454.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.3988, allocations: 35.12 kB / 454.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/0.3988, allocations: 31.97 kB / 454.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.3991, allocations: 256.1 kB / 454.9 MB, free: 7.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3991, allocations: 0 / 454.9 MB, free: 7.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003364/0.4025, allocations: 1.304 MB / 456.2 MB, free: 6.117 MB / 366.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.004819/0.4073, allocations: 1.697 MB / 457.9 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.4088, allocations: 0.7981 MB / 458.7 MB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4088, allocations: 7.938 kB / 458.7 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.4094, allocations: 287.2 kB / 459 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.4109, allocations: 263.1 kB / 459.2 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.4128, allocations: 1.354 MB / 460.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.4132, allocations: 0.8365 MB / 461.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005312/0.4137, allocations: 148.2 kB / 461.6 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.4139, allocations: 55.42 kB / 461.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4139, allocations: 0 / 461.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of Templates: time 0.06052/0.4744, allocations: 45.74 MB / 0.4955 GB, free: 2.961 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)