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.001192/0.001192, allocations: 109.2 kB / 15.99 MB, free: 5.891 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.001148/0.001148, allocations: 189.1 kB / 16.91 MB, free: 5.746 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.582/1.582, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.779/1.779, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001421/0.001421, allocations: 72.19 kB / 0.6717 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2637, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004243/0.268, allocations: 3.047 MB / 0.7865 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7268/0.9948, allocations: 151.2 MB / 0.9342 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003676/0.9952, allocations: 5.594 kB / 0.9342 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.9956, allocations: 71.94 kB / 0.9342 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.9968, allocations: 240.9 kB / 0.9345 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.9998, allocations: 0.9428 MB / 0.9354 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009882/1.001, allocations: 0.7813 MB / 0.9362 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/1.001, allocations: 85.95 kB / 0.9362 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/1.001, allocations: 324.8 kB / 0.9365 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004749/1.002, allocations: 336.2 kB / 0.9369 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.277e-05/1.002, allocations: 66.55 kB / 0.9369 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/1.004, allocations: 0.8231 MB / 0.9377 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/1.004, allocations: 151.5 kB / 0.9379 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003521/1.004, allocations: 293.3 kB / 0.9382 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/1.006, allocations: 0.6922 MB / 0.9388 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.006, allocations: 0 / 0.9388 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.745e-06/1.006, allocations: 3.766 kB / 0.9388 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.106e-05/1.006, allocations: 0 / 0.9388 GB, free: 5.691 MB / 0.7325 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.003081/1.009, allocations: 1.052 MB / 0.9399 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.009, allocations: 9.875 kB / 0.9399 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/1.011, allocations: 274.1 kB / 0.9401 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/1.012, allocations: 398.7 kB / 0.9405 GB, free: 20.78 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/1.012, allocations: 91.66 kB / 0.9406 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/1.012, allocations: 44.62 kB / 0.9406 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008272/1.013, allocations: 374.1 kB / 0.941 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.013, allocations: 0 / 0.941 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/1.013, allocations: 14.97 kB / 0.941 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.013, allocations: 10.39 kB / 0.941 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/1.014, allocations: 258 kB / 0.9413 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00459/1.018, allocations: 1.684 MB / 0.9429 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/1.019, allocations: 252.8 kB / 0.9432 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/1.02, allocations: 160.2 kB / 0.9433 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/1.02, allocations: 2.812 kB / 0.9433 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008039/1.021, allocations: 300.1 kB / 0.9436 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/1.021, allocations: 0 / 0.9436 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.008652/1.029, allocations: 1.497 MB / 0.9451 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/1.029, allocations: 88.53 kB / 0.9451 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/1.03, allocations: 450.9 kB / 0.9456 GB, free: 19.31 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002408/1.03, allocations: 44.77 kB / 0.9456 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/1.03, allocations: 200.4 kB / 0.9458 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/1.03, allocations: 98.33 kB / 0.9459 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/1.031, allocations: 160.1 kB / 0.9461 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.031, allocations: 356.9 kB / 0.9464 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008181/1.032, allocations: 271.5 kB / 0.9467 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/1.033, allocations: 423.5 kB / 0.9471 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008009/1.041, allocations: 1.859 MB / 0.9489 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/1.041, allocations: 0 / 0.9489 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008211/1.049, allocations: 1.555 MB / 0.9504 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/1.049, allocations: 66.09 kB / 0.9505 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.049, allocations: 6.25 kB / 0.9505 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/1.051, allocations: 395.8 kB / 0.9508 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/1.052, allocations: 91.09 kB / 0.9509 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006286/1.058, allocations: 4.69 MB / 0.9555 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.06, allocations: 99.52 kB / 0.9556 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.06, allocations: 37.22 kB / 0.9556 GB, free: 14.03 MB / 0.7481 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.0003737/1.06, allocations: 179.6 kB / 0.9558 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/1.06, allocations: 43.44 kB / 0.9558 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/1.06, allocations: 41.95 kB / 0.9559 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.06, allocations: 3.25 kB / 0.9559 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.06, allocations: 5.25 kB / 0.9559 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.06, allocations: 6.578 kB / 0.9559 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/1.061, allocations: 471.3 kB / 0.9564 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.061, allocations: 1.125 kB / 0.9564 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/1.061, allocations: 32.19 kB / 0.9564 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006094/1.062, allocations: 228 kB / 0.9566 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/1.062, allocations: 10.17 kB / 0.9566 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/1.064, allocations: 1.494 MB / 0.9581 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.064, allocations: 4 kB / 0.9581 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006399/1.07, allocations: 1.282 MB / 0.9593 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/1.07, allocations: 161.1 kB / 0.9595 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/1.07, allocations: 6.812 kB / 0.9595 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/1.071, allocations: 40.42 kB / 0.9595 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/1.071, allocations: 38.61 kB / 0.9596 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/1.071, allocations: 18.91 kB / 0.9596 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004409/1.072, allocations: 309 kB / 0.9599 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.072, allocations: 0 / 0.9599 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000833/1.072, allocations: 154.4 kB / 0.96 GB, free: 12.06 MB / 0.7481 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.0004386/1.073, allocations: 174.2 kB / 0.9602 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003538/1.076, allocations: 1.064 MB / 0.9612 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.076, allocations: 0 / 0.9612 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.078, allocations: 322.4 kB / 0.9615 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/1.079, allocations: 119.3 kB / 0.9616 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/1.081, allocations: 1.044 MB / 0.9627 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/1.081, allocations: 0.8017 MB / 0.9634 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/1.081, allocations: 40.86 kB / 0.9635 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/1.081, allocations: 0 / 0.9635 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of Templates: time 0.01926/1.101, allocations: 12.19 MB / 0.9754 GB, free: 8.434 MB / 0.7481 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)