Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) 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(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.396/1.396, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.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.001494/0.001494, allocations: 73.77 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2949, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004485/0.2994, allocations: 3.01 MB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6479/0.9474, allocations: 153.4 MB / 0.9361 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.9478, allocations: 7.594 kB / 0.9361 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.9482, allocations: 92.41 kB / 0.9362 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008699/0.9491, allocations: 280.9 kB / 0.9365 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.9514, allocations: 1.001 MB / 0.9375 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007772/0.9522, allocations: 0.7735 MB / 0.9382 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.9524, allocations: 100.2 kB / 0.9383 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.9527, allocations: 314.4 kB / 0.9386 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.9532, allocations: 337.2 kB / 0.9389 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.9533, allocations: 60.28 kB / 0.939 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.9549, allocations: 0.7837 MB / 0.9398 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.955, allocations: 152 kB / 0.9399 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.9554, allocations: 292.2 kB / 0.9402 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.957, allocations: 0.9449 MB / 0.9411 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.957, allocations: 0 / 0.9411 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.957, allocations: 0.8125 kB / 0.9411 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.957, allocations: 0 / 0.9411 GB, free: 1.879 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002921/0.96, allocations: 1.059 MB / 0.9421 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.96, allocations: 9.5 kB / 0.9421 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/0.9626, allocations: 274.5 kB / 0.9424 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006791/0.9633, allocations: 397 kB / 0.9428 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.9634, allocations: 93.69 kB / 0.9429 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.9636, allocations: 36.91 kB / 0.9429 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000807/0.9644, allocations: 373.7 kB / 0.9433 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.9644, allocations: 1.5 kB / 0.9433 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.9644, allocations: 11.56 kB / 0.9433 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.9645, allocations: 8.812 kB / 0.9433 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00074/0.9652, allocations: 255.5 kB / 0.9435 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/0.9699, allocations: 1.681 MB / 0.9452 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000855/0.9708, allocations: 253.7 kB / 0.9454 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.9713, allocations: 158.9 kB / 0.9456 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.9714, allocations: 5.859 kB / 0.9456 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008176/0.9722, allocations: 301 kB / 0.9459 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.9722, allocations: 0.5312 kB / 0.9459 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.00846/0.9807, allocations: 1.501 MB / 0.9473 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.9808, allocations: 88.09 kB / 0.9474 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005894/0.9814, allocations: 449.5 kB / 0.9478 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.9816, allocations: 43.69 kB / 0.9479 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.9817, allocations: 202.7 kB / 0.9481 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.9818, allocations: 95.39 kB / 0.9482 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.9821, allocations: 163.6 kB / 0.9483 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9822, allocations: 358.9 kB / 0.9487 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/0.983, allocations: 269.6 kB / 0.9489 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008739/0.9839, allocations: 419.4 kB / 0.9493 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007624/0.9915, allocations: 1.866 MB / 0.9511 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.9915, allocations: 2.422 kB / 0.9511 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007419/0.999, allocations: 1.557 MB / 0.9527 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.258e-05/0.999, allocations: 64.33 kB / 0.9527 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9991, allocations: 7.359 kB / 0.9527 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/1.001, allocations: 389.1 kB / 0.9531 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/1.001, allocations: 94.91 kB / 0.9532 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005947/1.007, allocations: 4.68 MB / 0.9578 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.008, allocations: 99.56 kB / 0.9579 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/1.009, allocations: 37.22 kB / 0.9579 GB, free: 10.12 MB / 0.7325 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean evaSho.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {7, 7} * 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,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003332/1.009, allocations: 190.1 kB / 0.9581 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/1.009, allocations: 42.91 kB / 0.9581 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/1.009, allocations: 43.84 kB / 0.9582 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.009, allocations: 3.125 kB / 0.9582 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/1.009, allocations: 6.984 kB / 0.9582 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.009, allocations: 0 / 0.9582 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/1.01, allocations: 471.3 kB / 0.9586 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.01, allocations: 1.094 kB / 0.9586 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/1.01, allocations: 36.44 kB / 0.9587 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005988/1.01, allocations: 224.4 kB / 0.9589 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/1.011, allocations: 16.27 kB / 0.9589 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/1.012, allocations: 1.49 MB / 0.9603 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.012, allocations: 0 / 0.9603 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006113/1.018, allocations: 1.283 MB / 0.9616 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/1.019, allocations: 166.3 kB / 0.9618 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/1.019, allocations: 7.375 kB / 0.9618 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/1.019, allocations: 35.11 kB / 0.9618 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.019, allocations: 44.97 kB / 0.9618 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/1.02, allocations: 16.98 kB / 0.9619 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004362/1.02, allocations: 302.4 kB / 0.9621 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.02, allocations: 0 / 0.9621 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001081/1.021, allocations: 164.3 kB / 0.9623 GB, free: 8.113 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/1.021, allocations: 169.4 kB / 0.9625 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003262/1.025, allocations: 1.059 MB / 0.9635 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.025, allocations: 1.375 kB / 0.9635 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.026, allocations: 330.8 kB / 0.9638 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/1.027, allocations: 113.1 kB / 0.9639 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/1.029, allocations: 0.902 MB / 0.9648 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/1.029, allocations: 0.8077 MB / 0.9656 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003064/1.029, allocations: 54.47 kB / 0.9656 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/1.03, allocations: 36.02 kB / 0.9657 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/1.03, allocations: 1.203 kB / 0.9657 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of Templates: time 0.01979/1.049, allocations: 12.27 MB / 0.9777 GB, free: 0.7695 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)