Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0009202/0.0009202, allocations: 99.7 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.0009487/0.0009487, allocations: 177.3 kB / 15.94 MB, free: 228 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.339/1.339, allocations: 205.4 MB / 222.1 MB, free: 5.758 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.0004471/0.0004471, allocations: 16 kB / 278.9 MB, free: 12.96 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2059, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04259/0.2486, allocations: 39.25 MB / 365.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.2534, allocations: 4.11 MB / 369.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.2536, allocations: 11.94 kB / 369.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.2542, allocations: 191.2 kB / 370 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.2547, allocations: 243.3 kB / 370.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01225/0.2669, allocations: 4.746 MB / 375 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008132/0.2678, allocations: 0.5859 MB / 375.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.268, allocations: 97.58 kB / 375.7 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008102/0.2761, allocations: 5.95 MB / 381.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.2765, allocations: 271.1 kB / 381.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.2765, allocations: 28 kB / 381.9 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/0.2909, allocations: 8.353 MB / 390.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.2912, allocations: 183.5 kB / 390.4 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.2914, allocations: 125.5 kB / 390.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006884/0.2983, allocations: 3.415 MB / 394 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2983, allocations: 3.938 kB / 394 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2983, allocations: 0 / 394 MB, free: 15.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2983, allocations: 0 / 394 MB, free: 15.85 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.002961/0.3013, allocations: 1.205 MB / 395.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3014, allocations: 8.031 kB / 395.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.3017, allocations: 59.42 kB / 395.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.3022, allocations: 362 kB / 395.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.3022, allocations: 29 kB / 395.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.3023, allocations: 44 kB / 395.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3035, allocations: 0.5765 MB / 396.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3035, allocations: 0 / 396.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.3036, allocations: 27.98 kB / 396.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3036, allocations: 8 kB / 396.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.3049, allocations: 0.7417 MB / 397 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.3206, allocations: 12.02 MB / 409 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.3219, allocations: 0.5352 MB / 409.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01386/0.3358, allocations: 11.95 MB / 421.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3358, allocations: 42.95 kB / 421.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.355e-06/0.3358, allocations: 0 / 421.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.005516/0.3413, allocations: 2.129 MB / 423.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3414, allocations: 59.97 kB / 423.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.3417, allocations: 314.9 kB / 424.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.3418, allocations: 37.7 kB / 424.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3419, allocations: 208.3 kB / 424.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3421, allocations: 189.3 kB / 424.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.3421, allocations: 8 kB / 424.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3423, allocations: 354.7 kB / 424.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.3426, allocations: 233 kB / 425.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.3432, allocations: 339.3 kB / 425.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.3438, allocations: 280.7 kB / 425.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3438, allocations: 7.891 kB / 425.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001705/0.3455, allocations: 0.7478 MB / 426.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3456, allocations: 8 kB / 426.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3456, allocations: 0 / 426.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/0.346, allocations: 106.8 kB / 426.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.3465, allocations: 123.8 kB / 426.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.3488, allocations: 3.299 MB / 430 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.3492, allocations: 35.89 kB / 430 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.3492, allocations: 36.08 kB / 430 MB, free: 6.812 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 (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.000229/0.3495, allocations: 189.6 kB / 430.2 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.3497, allocations: 43.61 kB / 430.3 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.3512, allocations: 0.8305 MB / 431.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3512, allocations: 7.953 kB / 431.1 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3513, allocations: 0 / 431.1 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001042/0.3523, allocations: 0.7674 MB / 431.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.3543, allocations: 1.305 MB / 433.2 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3543, allocations: 0 / 433.2 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.3547, allocations: 99.88 kB / 433.3 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008964/0.3556, allocations: 152.7 kB / 433.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/0.3557, allocations: 15.98 kB / 433.4 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003705/0.3561, allocations: 0.6445 MB / 434.1 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3561, allocations: 0 / 434.1 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.3576, allocations: 0.9311 MB / 435 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3578, allocations: 124.8 kB / 435.1 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.3579, allocations: 15.98 kB / 435.1 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.3583, allocations: 43.78 kB / 435.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.3584, allocations: 32.39 kB / 435.2 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.3584, allocations: 31.97 kB / 435.3 MB, free: 1.328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.3587, allocations: 253.9 kB / 435.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3587, allocations: 0 / 435.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003168/0.3619, allocations: 1.292 MB / 436.8 MB, free: 15.79 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.004882/0.3668, allocations: 1.566 MB / 438.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.3682, allocations: 0.8076 MB / 439.2 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3682, allocations: 0.5625 kB / 439.2 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005506/0.3688, allocations: 295.2 kB / 439.5 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.3701, allocations: 257.5 kB / 439.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.372, allocations: 1.305 MB / 441 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.3724, allocations: 0.8442 MB / 441.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005185/0.3729, allocations: 140.2 kB / 442 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3731, allocations: 55.42 kB / 442 MB, free: 10.42 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3731, allocations: 0 / 442 MB, free: 10.42 MB / 382.1 MB Notification: Performance of Templates: time 0.1951/0.5682, allocations: 45.86 MB / 487.9 MB, free: 89.55 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) Environment - environmentSimulation: