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.001431/0.001431, allocations: 111.8 kB / 16.37 MB, free: 5.535 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.001365/0.001365, allocations: 186.4 kB / 17.3 MB, free: 5.188 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.631/1.631, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.886/1.886, allocations: 292.3 MB / 0.5496 GB, free: 17.39 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.001785/0.001785, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.316, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.005617/0.3217, allocations: 3.024 MB / 0.7878 GB, free: 108 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7067/1.028, allocations: 153.4 MB / 0.9376 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/1.029, allocations: 7.938 kB / 0.9376 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004865/1.029, allocations: 79.22 kB / 0.9376 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001327/1.031, allocations: 278.1 kB / 0.9379 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002904/1.034, allocations: 1.01 MB / 0.9389 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001203/1.035, allocations: 0.7836 MB / 0.9397 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/1.035, allocations: 91.16 kB / 0.9397 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/1.036, allocations: 323 kB / 0.9401 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/1.036, allocations: 338.8 kB / 0.9404 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.795e-05/1.036, allocations: 60 kB / 0.9404 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/1.038, allocations: 0.7836 MB / 0.9412 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/1.038, allocations: 151.6 kB / 0.9413 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003123/1.039, allocations: 286.7 kB / 0.9416 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/1.04, allocations: 0.9543 MB / 0.9425 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.04, allocations: 8 kB / 0.9426 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.684e-06/1.04, allocations: 5.312 kB / 0.9426 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.987e-06/1.04, allocations: 0 / 0.9426 GB, free: 8.543 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.002657/1.043, allocations: 1.05 MB / 0.9436 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.043, allocations: 8.031 kB / 0.9436 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/1.045, allocations: 275.4 kB / 0.9439 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/1.046, allocations: 404.9 kB / 0.9442 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-05/1.046, allocations: 95.83 kB / 0.9443 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.472e-05/1.046, allocations: 36 kB / 0.9444 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/1.047, allocations: 372.2 kB / 0.9447 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.047, allocations: 0 / 0.9447 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/1.047, allocations: 11.98 kB / 0.9447 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/1.047, allocations: 11.92 kB / 0.9447 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/1.048, allocations: 257.5 kB / 0.945 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/1.052, allocations: 1.681 MB / 0.9466 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/1.053, allocations: 251.8 kB / 0.9469 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/1.054, allocations: 164.8 kB / 0.947 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/1.054, allocations: 4 kB / 0.947 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006892/1.054, allocations: 294.6 kB / 0.9473 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/1.055, allocations: 0 / 0.9473 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.00807/1.063, allocations: 1.485 MB / 0.9488 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/1.063, allocations: 89.05 kB / 0.9488 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/1.063, allocations: 457.7 kB / 0.9493 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/1.063, allocations: 41.7 kB / 0.9493 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/1.064, allocations: 197.7 kB / 0.9495 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/1.064, allocations: 102.6 kB / 0.9496 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/1.064, allocations: 158.2 kB / 0.9498 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.064, allocations: 362.7 kB / 0.9501 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/1.065, allocations: 269.2 kB / 0.9504 GB, free: 236 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/1.066, allocations: 417.8 kB / 0.9508 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007634/1.074, allocations: 1.851 MB / 0.9526 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.074, allocations: 0 / 0.9526 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007251/1.081, allocations: 1.563 MB / 0.9541 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/1.081, allocations: 68.47 kB / 0.9542 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.081, allocations: 7.938 kB / 0.9542 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/1.083, allocations: 395.2 kB / 0.9545 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/1.083, allocations: 95.8 kB / 0.9546 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005957/1.089, allocations: 4.663 MB / 0.9592 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.09, allocations: 103.3 kB / 0.9593 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/1.09, allocations: 35.95 kB / 0.9593 GB, free: 6.602 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.0003262/1.091, allocations: 182.7 kB / 0.9595 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-05/1.091, allocations: 43.44 kB / 0.9595 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.072e-05/1.091, allocations: 43.58 kB / 0.9596 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.091, allocations: 7.875 kB / 0.9596 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.091, allocations: 4 kB / 0.9596 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.091, allocations: 0 / 0.9596 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/1.092, allocations: 480.4 kB / 0.9601 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.092, allocations: 1.406 kB / 0.9601 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/1.092, allocations: 19.98 kB / 0.9601 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000614/1.092, allocations: 238.1 kB / 0.9603 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/1.092, allocations: 11.98 kB / 0.9603 GB, free: 5.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/1.094, allocations: 1.489 MB / 0.9618 GB, free: 4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.094, allocations: 3.938 kB / 0.9618 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006018/1.1, allocations: 1.274 MB / 0.963 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/1.101, allocations: 163 kB / 0.9632 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.291e-05/1.101, allocations: 11.98 kB / 0.9632 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/1.101, allocations: 39.89 kB / 0.9632 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.101, allocations: 39.95 kB / 0.9633 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/1.102, allocations: 15.92 kB / 0.9633 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005106/1.102, allocations: 307.1 kB / 0.9636 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.102, allocations: 0 / 0.9636 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008777/1.103, allocations: 159.9 kB / 0.9637 GB, free: 1.969 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.0003846/1.103, allocations: 173 kB / 0.9639 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003211/1.107, allocations: 1.057 MB / 0.9649 GB, free: 0.6797 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.107, allocations: 0 / 0.9649 GB, free: 0.6797 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/1.108, allocations: 322.2 kB / 0.9652 GB, free: 368 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006431/1.109, allocations: 107.4 kB / 0.9653 GB, free: 272 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/1.111, allocations: 0.9344 MB / 0.9662 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/1.111, allocations: 0.7996 MB / 0.967 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/1.111, allocations: 39.42 kB / 0.9671 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of SimCode: time 9.92e-07/1.111, allocations: 0 / 0.9671 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of Templates: time 0.01744/1.129, allocations: 12.21 MB / 0.979 GB, free: 2.383 MB / 0.7637 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)