Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001328/0.001328, allocations: 95.94 kB / 16.3 MB, free: 5.992 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.001524/0.001524, allocations: 182 kB / 17.19 MB, free: 5.906 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.348/1.348, allocations: 205.4 MB / 223.4 MB, free: 5.52 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.000526/0.0005262, allocations: 10.66 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2017, allocations: 47.58 MB / 327.7 MB, free: 1.293 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.04908/0.2508, allocations: 49.97 MB / 377.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005633/0.2565, allocations: 4.383 MB / 382 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004171/0.2569, allocations: 7.938 kB / 382 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007641/0.2577, allocations: 270.8 kB / 382.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.2584, allocations: 343 kB / 382.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0143/0.2727, allocations: 4.913 MB / 387.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.274, allocations: 0.836 MB / 388.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.2742, allocations: 163.4 kB / 388.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000823/0.2751, allocations: 0.4946 MB / 389 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/0.2756, allocations: 382.7 kB / 389.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.004e-05/0.2757, allocations: 36 kB / 389.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01459/0.2903, allocations: 8.45 MB / 397.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.2907, allocations: 251.3 kB / 398.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.2909, allocations: 173.4 kB / 398.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006392/0.2973, allocations: 3.68 MB / 402 MB, free: 8.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2974, allocations: 0 / 402 MB, free: 8.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2974, allocations: 0 / 402 MB, free: 8.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.2974, allocations: 0 / 402 MB, free: 8.941 MB / 334.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.002984/0.3004, allocations: 1.365 MB / 403.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3004, allocations: 8.031 kB / 403.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.3008, allocations: 87.23 kB / 403.5 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.3014, allocations: 429 kB / 403.9 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.3014, allocations: 49.31 kB / 403.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.671e-05/0.3015, allocations: 60 kB / 404 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.3032, allocations: 0.7912 MB / 404.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.3032, allocations: 3.906 kB / 404.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.3033, allocations: 39.92 kB / 404.8 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.3033, allocations: 23.94 kB / 404.8 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.3051, allocations: 1.016 MB / 405.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/0.3214, allocations: 12.85 MB / 418.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3231, allocations: 0.7492 MB / 419.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01454/0.3377, allocations: 12.29 MB / 431.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.3378, allocations: 43.22 kB / 431.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.3378, allocations: 0 / 431.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009804/0.3476, allocations: 3.417 MB / 435.2 MB, free: 3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.3477, allocations: 60.41 kB / 435.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.3481, allocations: 348.5 kB / 435.6 MB, free: 2.582 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.636e-05/0.3482, allocations: 45.7 kB / 435.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.3483, allocations: 236.6 kB / 435.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.3486, allocations: 315.6 kB / 436.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.3486, allocations: 16 kB / 436.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3487, allocations: 358.8 kB / 436.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.3493, allocations: 365.8 kB / 436.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/0.3502, allocations: 492.2 kB / 437.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.3511, allocations: 442.8 kB / 437.8 MB, free: 312 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3512, allocations: 0 / 437.8 MB, free: 312 kB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002505/0.3537, allocations: 1.109 MB / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3537, allocations: 4 kB / 438.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3537, allocations: 4 kB / 438.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000824/0.3546, allocations: 167.6 kB / 439.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.3553, allocations: 191.7 kB / 439.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.358, allocations: 3.931 MB / 443.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/0.3586, allocations: 67.91 kB / 443.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.3587, allocations: 47.98 kB / 443.3 MB, free: 10.45 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003368/0.359, allocations: 225.6 kB / 443.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.3594, allocations: 63.34 kB / 443.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.3617, allocations: 1.284 MB / 444.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3617, allocations: 11.94 kB / 444.9 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3618, allocations: 3.953 kB / 444.9 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001768/0.3635, allocations: 1.324 MB / 446.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.3668, allocations: 1.967 MB / 448.2 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3668, allocations: 0 / 448.2 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007035/0.3675, allocations: 163.8 kB / 448.4 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.3693, allocations: 309 kB / 448.7 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.192e-05/0.3694, allocations: 35.92 kB / 448.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007494/0.3702, allocations: 1.281 MB / 450 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3702, allocations: 7.969 kB / 450 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.3728, allocations: 1.432 MB / 451.4 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.373, allocations: 136.6 kB / 451.6 MB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3731, allocations: 23.98 kB / 451.6 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.3738, allocations: 55.81 kB / 451.6 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.3739, allocations: 56.92 kB / 451.7 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.374, allocations: 51.89 kB / 451.7 MB, free: 1.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003163/0.3743, allocations: 275 kB / 452 MB, free: 1.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3743, allocations: 0 / 452 MB, free: 1.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003623/0.3779, allocations: 1.386 MB / 453.4 MB, free: 32 kB / 382.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1632/0.5412, allocations: 1.594 MB / 455 MB, free: 117.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.5437, allocations: 1.157 MB / 456.2 MB, free: 116.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.5438, allocations: 0.875 kB / 456.2 MB, free: 116.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009008/0.5447, allocations: 496.7 kB / 456.6 MB, free: 116.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.5466, allocations: 362.5 kB / 457 MB, free: 116.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.5492, allocations: 1.972 MB / 459 MB, free: 116 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.5496, allocations: 0.9293 MB / 459.9 MB, free: 115.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007766/0.5504, allocations: 206.3 kB / 460.1 MB, free: 115.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.5506, allocations: 80.3 kB / 460.2 MB, free: 115.2 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5506, allocations: 0 / 460.2 MB, free: 115.2 MB / 382.1 MB Notification: Performance of Templates: time 0.07484/0.6255, allocations: 50.35 MB / 0.4986 GB, free: 69.38 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) Environment - environmentSimulation: