Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007284/0.007284, allocations: 170.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003885, allocations: 12.25 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3957, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003512/0.3992, allocations: 2.674 MB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1776/0.5769, allocations: 149.5 MB / 1.223 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004898/0.5774, allocations: 7.938 kB / 1.223 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.5778, allocations: 71.5 kB / 1.223 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001/0.5788, allocations: 238.5 kB / 1.223 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.5818, allocations: 0.9294 MB / 1.224 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009781/0.5827, allocations: 0.7446 MB / 1.225 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.5829, allocations: 86.03 kB / 1.225 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.5833, allocations: 287 kB / 1.225 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.5838, allocations: 310.8 kB / 1.225 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.647e-05/0.5839, allocations: 32 kB / 1.225 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.5857, allocations: 0.877 MB / 1.226 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.5859, allocations: 123.5 kB / 1.226 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.5862, allocations: 284.5 kB / 1.227 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.5876, allocations: 0.9657 MB / 1.228 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.5876, allocations: 0 / 1.228 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.524e-06/0.5876, allocations: 0 / 1.228 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.5876, allocations: 0 / 1.228 GB, free: 9.809 MB / 0.9825 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.002625/0.5903, allocations: 0.9659 MB / 1.229 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.5903, allocations: 12.03 kB / 1.229 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.5928, allocations: 271.7 kB / 1.229 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.5935, allocations: 400.8 kB / 1.229 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.5937, allocations: 91.84 kB / 1.229 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5938, allocations: 39.98 kB / 1.229 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.5946, allocations: 384.2 kB / 1.23 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5947, allocations: 7.938 kB / 1.23 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.5947, allocations: 7.984 kB / 1.23 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.5947, allocations: 8 kB / 1.23 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.5955, allocations: 281.4 kB / 1.23 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004615/0.6001, allocations: 1.708 MB / 1.232 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.601, allocations: 278.5 kB / 1.232 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/0.6015, allocations: 173.4 kB / 1.232 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.6016, allocations: 4 kB / 1.232 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007734/0.6023, allocations: 321.2 kB / 1.232 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/0.6023, allocations: 0 / 1.232 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008796/0.6112, allocations: 1.56 MB / 1.234 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.6113, allocations: 89.09 kB / 1.234 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.6119, allocations: 453.6 kB / 1.234 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.6122, allocations: 41.7 kB / 1.234 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.6123, allocations: 208.8 kB / 1.235 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.6125, allocations: 94.7 kB / 1.235 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.6126, allocations: 69.67 kB / 1.235 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6127, allocations: 358.7 kB / 1.235 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/0.6135, allocations: 285.2 kB / 1.235 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009084/0.6144, allocations: 433.8 kB / 1.236 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007988/0.6224, allocations: 1.958 MB / 1.238 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.6225, allocations: 0 / 1.238 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007755/0.6303, allocations: 1.623 MB / 1.239 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.6304, allocations: 67.39 kB / 1.239 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6304, allocations: 7.875 kB / 1.239 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.6322, allocations: 403.1 kB / 1.24 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.6328, allocations: 99.86 kB / 1.24 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006044/0.6389, allocations: 4.473 MB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.6401, allocations: 111.2 kB / 1.244 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.6403, allocations: 35.97 kB / 1.244 GB, free: 7.793 MB / 0.9981 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.000422/0.6407, allocations: 172.3 kB / 1.245 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.6409, allocations: 47.44 kB / 1.245 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/0.641, allocations: 47.58 kB / 1.245 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.641, allocations: 4 kB / 1.245 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.641, allocations: 0 / 1.245 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.641, allocations: 7.984 kB / 1.245 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000656/0.6417, allocations: 477.1 kB / 1.245 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6417, allocations: 0 / 1.245 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.6419, allocations: 27.97 kB / 1.245 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006188/0.6425, allocations: 233.6 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.6426, allocations: 15.97 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.6445, allocations: 1.504 MB / 1.247 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6445, allocations: 0 / 1.247 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006615/0.6511, allocations: 1.358 MB / 1.248 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.6515, allocations: 156.5 kB / 1.248 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.6516, allocations: 11.94 kB / 1.248 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005403/0.6521, allocations: 47.95 kB / 1.248 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.6523, allocations: 43.88 kB / 1.248 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.992e-05/0.6523, allocations: 15.98 kB / 1.248 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004168/0.6528, allocations: 299.1 kB / 1.249 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6528, allocations: 4 kB / 1.249 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008285/0.6536, allocations: 152 kB / 1.249 GB, free: 3.039 MB / 0.9981 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.0004037/0.654, allocations: 177 kB / 1.249 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003515/0.6576, allocations: 1.064 MB / 1.25 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6576, allocations: 0 / 1.25 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.6591, allocations: 339.1 kB / 1.25 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008006/0.66, allocations: 114.3 kB / 1.251 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.6621, allocations: 1.063 MB / 1.252 GB, free: 216 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6474/1.309, allocations: 0.8001 MB / 1.252 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004861/1.31, allocations: 57.39 kB / 1.252 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/1.31, allocations: 34.73 kB / 1.252 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.263e-06/1.31, allocations: 0.8438 kB / 1.252 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02404/1.334, allocations: 11.47 MB / 1.264 GB, free: 180.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)