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.0008201/0.0008201, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008506/0.0008507, allocations: 172.7 kB / 15.95 MB, free: 208 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.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.000422/0.0004221, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2102, allocations: 47.58 MB / 326.5 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05186/0.2621, allocations: 46.85 MB / 373.3 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005997/0.2681, allocations: 4.849 MB / 378.2 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.2685, allocations: 7.938 kB / 378.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.2691, allocations: 159 kB / 378.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007776/0.2699, allocations: 342.2 kB / 378.7 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01342/0.2834, allocations: 4.969 MB / 383.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.285, allocations: 1.329 MB / 385 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.2852, allocations: 105.6 kB / 385.1 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009214/0.2945, allocations: 6.116 MB / 391.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006238/0.2951, allocations: 394.6 kB / 391.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-05/0.2952, allocations: 24 kB / 391.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0153/0.3105, allocations: 8.38 MB / 400 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.3109, allocations: 195.5 kB / 400.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.3112, allocations: 125.5 kB / 400.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006289/0.3175, allocations: 3.543 MB / 403.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3176, allocations: 0 / 403.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.3176, allocations: 4 kB / 403.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.3176, allocations: 0 / 403.8 MB, free: 5.961 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002957/0.3206, allocations: 1.244 MB / 405.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3206, allocations: 8.031 kB / 405.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.321, allocations: 59.44 kB / 405.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.3215, allocations: 354.1 kB / 405.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.3215, allocations: 37 kB / 405.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.3216, allocations: 47.94 kB / 405.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.3229, allocations: 0.5842 MB / 406.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.3229, allocations: 4 kB / 406.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.323, allocations: 20 kB / 406.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.323, allocations: 8 kB / 406.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.3243, allocations: 0.7417 MB / 406.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.3394, allocations: 12.01 MB / 418.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.3407, allocations: 0.5274 MB / 419.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003935/0.3411, allocations: 254 kB / 419.7 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01388/0.355, allocations: 11.95 MB / 431.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.3551, allocations: 46.95 kB / 431.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.415e-06/0.3551, allocations: 0 / 431.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.005865/0.361, allocations: 2.124 MB / 433.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.361, allocations: 63.95 kB / 433.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.3614, allocations: 318.8 kB / 434.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.3614, allocations: 37.7 kB / 434.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3616, allocations: 208.4 kB / 434.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.3617, allocations: 189.2 kB / 434.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.3618, allocations: 12 kB / 434.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3619, allocations: 346.8 kB / 435 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.3623, allocations: 237 kB / 435.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006144/0.3629, allocations: 339.4 kB / 435.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/0.3635, allocations: 284.6 kB / 435.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3635, allocations: 4 kB / 435.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001753/0.3653, allocations: 0.7517 MB / 436.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3653, allocations: 4 kB / 436.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.3654, allocations: 4 kB / 436.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.3658, allocations: 106.8 kB / 436.7 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.3663, allocations: 127.8 kB / 436.8 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.3686, allocations: 3.275 MB / 440.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.369, allocations: 40.08 kB / 440.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.3691, allocations: 31.98 kB / 440.2 MB, free: 12.64 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 (linear and non-linear blocks): 1 * 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: 1 {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.0002472/0.3693, allocations: 189.6 kB / 440.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.3696, allocations: 43.62 kB / 440.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.3711, allocations: 0.8344 MB / 441.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3712, allocations: 4 kB / 441.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.3712, allocations: 0 / 441.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.3723, allocations: 0.7635 MB / 442 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.3743, allocations: 1.301 MB / 443.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3743, allocations: 0 / 443.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.3747, allocations: 95.89 kB / 443.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000869/0.3756, allocations: 152.6 kB / 443.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.3757, allocations: 19.98 kB / 443.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004119/0.3761, allocations: 0.6446 MB / 444.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3761, allocations: 3.984 kB / 444.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.3777, allocations: 0.9081 MB / 445.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.3779, allocations: 124.8 kB / 445.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.378, allocations: 12 kB / 445.2 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.3784, allocations: 39.97 kB / 445.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.3784, allocations: 28.39 kB / 445.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.3785, allocations: 35.92 kB / 445.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.3788, allocations: 249.9 kB / 445.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3788, allocations: 0 / 445.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003343/0.3822, allocations: 1.304 MB / 446.9 MB, free: 5.656 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 (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005032/0.3872, allocations: 1.563 MB / 448.5 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.3887, allocations: 0.8041 MB / 449.3 MB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3887, allocations: 4.062 kB / 449.3 MB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005627/0.3892, allocations: 291.2 kB / 449.5 MB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.3906, allocations: 261.5 kB / 449.8 MB, free: 2.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.3925, allocations: 1.293 MB / 451.1 MB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.3929, allocations: 0.8443 MB / 451.9 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005602/0.3934, allocations: 144.3 kB / 452.1 MB, free: 364 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3936, allocations: 55.42 kB / 452.1 MB, free: 312 kB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3936, allocations: 0 / 452.1 MB, free: 312 kB / 382.1 MB Notification: Performance of Templates: time 0.1925/0.5861, allocations: 45.72 MB / 497.9 MB, free: 79.57 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)