Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0009176/0.0009176, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009414/0.0009414, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.000512/0.0005121, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 47.59 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0954/0.3096, allocations: 49.96 MB / 376.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.3196, allocations: 4.379 MB / 380.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005577/0.3202, allocations: 7.938 kB / 380.8 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.3216, allocations: 266.8 kB / 381.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.3229, allocations: 347 kB / 381.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01538/0.3383, allocations: 4.917 MB / 386.3 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.3396, allocations: 0.836 MB / 387.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.3399, allocations: 159.4 kB / 387.3 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008659/0.3408, allocations: 0.4986 MB / 387.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.3414, allocations: 382.7 kB / 388.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3416, allocations: 36 kB / 388.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01525/0.3568, allocations: 8.447 MB / 396.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004857/0.3573, allocations: 259.3 kB / 396.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.3577, allocations: 173.4 kB / 397.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007151/0.3649, allocations: 3.676 MB / 400.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3649, allocations: 4 kB / 400.8 MB, free: 9.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3649, allocations: 0 / 400.8 MB, free: 9.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.365, allocations: 0 / 400.8 MB, free: 9.047 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.003323/0.3683, allocations: 1.365 MB / 402.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3683, allocations: 8.031 kB / 402.1 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.3688, allocations: 83.23 kB / 402.2 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.3696, allocations: 429 kB / 402.6 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.3696, allocations: 49.31 kB / 402.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.3697, allocations: 60 kB / 402.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.3715, allocations: 0.7951 MB / 403.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.3716, allocations: 7.906 kB / 403.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.3716, allocations: 31.98 kB / 403.6 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.3717, allocations: 23.89 kB / 403.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.3736, allocations: 1.016 MB / 404.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/0.3904, allocations: 12.84 MB / 417.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.3921, allocations: 0.757 MB / 418.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/0.4061, allocations: 12.29 MB / 430.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.4061, allocations: 43.22 kB / 430.5 MB, free: 6.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.615e-06/0.4062, allocations: 0 / 430.5 MB, free: 6.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009543/0.4157, allocations: 3.421 MB / 434 MB, free: 3.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.4158, allocations: 60.41 kB / 434 MB, free: 3.035 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.4162, allocations: 352.5 kB / 434.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.325e-05/0.4163, allocations: 41.7 kB / 434.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.4165, allocations: 240.6 kB / 434.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.4167, allocations: 311.6 kB / 434.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.4168, allocations: 12 kB / 435 MB, free: 2.074 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.417, allocations: 362.8 kB / 435.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006628/0.4176, allocations: 365.8 kB / 435.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008561/0.4185, allocations: 492.2 kB / 436.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008827/0.4194, allocations: 442.8 kB / 436.6 MB, free: 420 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4194, allocations: 4 kB / 436.6 MB, free: 416 kB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002562/0.422, allocations: 1.109 MB / 437.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.422, allocations: 8.031 kB / 437.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.422, allocations: 4 kB / 437.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008034/0.4228, allocations: 163.3 kB / 437.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/0.4236, allocations: 191.7 kB / 438.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.4264, allocations: 3.931 MB / 442 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/0.427, allocations: 59.97 kB / 442 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4271, allocations: 43.98 kB / 442.1 MB, free: 10.56 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.0004184/0.4275, allocations: 229.6 kB / 442.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/0.4279, allocations: 71.33 kB / 442.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.4303, allocations: 1.284 MB / 443.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4304, allocations: 8 kB / 443.7 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4304, allocations: 7.891 kB / 443.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001765/0.4321, allocations: 1.32 MB / 445 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.4354, allocations: 1.971 MB / 447 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4354, allocations: 0 / 447 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.4361, allocations: 163.8 kB / 447.1 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/0.4379, allocations: 301.1 kB / 447.4 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.438, allocations: 31.92 kB / 447.5 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009323/0.4389, allocations: 1.285 MB / 448.7 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.4389, allocations: 4.031 kB / 448.7 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.4415, allocations: 1.436 MB / 450.2 MB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.4418, allocations: 136.6 kB / 450.3 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4419, allocations: 23.98 kB / 450.3 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006233/0.4425, allocations: 55.81 kB / 450.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.4426, allocations: 60.91 kB / 450.5 MB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.4427, allocations: 47.95 kB / 450.5 MB, free: 1.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003216/0.4431, allocations: 283 kB / 450.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4431, allocations: 0 / 450.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00396/0.447, allocations: 1.386 MB / 452.2 MB, free: 136 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.1535/0.6005, allocations: 1.593 MB / 453.8 MB, free: 117.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.603, allocations: 1.149 MB / 454.9 MB, free: 117.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.603, allocations: 1.125 kB / 454.9 MB, free: 117.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000912/0.6039, allocations: 499.7 kB / 455.4 MB, free: 117.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.6059, allocations: 359.4 kB / 455.7 MB, free: 117.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.6088, allocations: 1.978 MB / 457.7 MB, free: 116.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.6093, allocations: 0.9273 MB / 458.6 MB, free: 115.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009073/0.6102, allocations: 208.7 kB / 458.9 MB, free: 115.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.6105, allocations: 75.94 kB / 458.9 MB, free: 115.8 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6105, allocations: 0 / 458.9 MB, free: 115.8 MB / 382.1 MB Notification: Performance of Templates: time 0.0562/0.6667, allocations: 50.36 MB / 0.4973 GB, free: 69.73 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) Environment - environmentSimulation: