Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001312/0.001312, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001444/0.001444, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.494/1.494, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 62.11 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3736, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004514/0.3782, allocations: 3.036 MB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1806/0.5588, allocations: 151.2 MB / 1.218 GB, free: 104 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006471/0.5595, allocations: 4 kB / 1.218 GB, free: 100 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.5602, allocations: 75.45 kB / 1.218 GB, free: 24 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.5616, allocations: 238.6 kB / 1.218 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.5646, allocations: 0.9431 MB / 1.219 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.5657, allocations: 0.7367 MB / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.566, allocations: 89.97 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.5666, allocations: 291 kB / 1.22 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006745/0.5672, allocations: 322.8 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.5675, allocations: 40 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.5704, allocations: 0.8731 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.5707, allocations: 131.5 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005289/0.5712, allocations: 270.8 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.5732, allocations: 0.9736 MB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5732, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5732, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.136e-05/0.5733, allocations: 0 / 1.223 GB, free: 11.14 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.003351/0.5766, allocations: 1.051 MB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5767, allocations: 15.91 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.5795, allocations: 279.7 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.5803, allocations: 392.9 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.5804, allocations: 95.83 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.5805, allocations: 36 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009184/0.5815, allocations: 372.2 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5815, allocations: 0 / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.507e-05/0.5815, allocations: 8 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.5816, allocations: 4 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.5824, allocations: 261.4 kB / 1.225 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/0.5874, allocations: 1.689 MB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/0.5883, allocations: 250.5 kB / 1.227 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.5888, allocations: 165.8 kB / 1.227 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.5888, allocations: 7.938 kB / 1.227 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000827/0.5897, allocations: 297.2 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.395e-06/0.5897, allocations: 0 / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008851/0.5985, allocations: 1.501 MB / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.5986, allocations: 85.05 kB / 1.229 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.5993, allocations: 457.7 kB / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.5994, allocations: 41.7 kB / 1.23 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.5997, allocations: 204.8 kB / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.5998, allocations: 94.7 kB / 1.23 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.6001, allocations: 158.2 kB / 1.23 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6003, allocations: 350.8 kB / 1.231 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008113/0.6011, allocations: 273.1 kB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009579/0.6021, allocations: 425.8 kB / 1.231 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008029/0.6101, allocations: 1.853 MB / 1.233 GB, free: 452 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6102, allocations: 0 / 1.233 GB, free: 452 kB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008054/0.6182, allocations: 1.576 MB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.6183, allocations: 65.12 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.6183, allocations: 4 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.6202, allocations: 399.1 kB / 1.235 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.6207, allocations: 95.8 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005874/0.6266, allocations: 4.464 MB / 1.239 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.6277, allocations: 87.33 kB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.6279, allocations: 47.95 kB / 1.24 GB, free: 9.332 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.0003975/0.6283, allocations: 175.2 kB / 1.24 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.6285, allocations: 47.52 kB / 1.24 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/0.6286, allocations: 39.58 kB / 1.24 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6286, allocations: 4 kB / 1.24 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6286, allocations: 7.938 kB / 1.24 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6286, allocations: 0 / 1.24 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.6293, allocations: 481 kB / 1.24 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6293, allocations: 4 kB / 1.24 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.6295, allocations: 23.97 kB / 1.24 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006459/0.6302, allocations: 225.5 kB / 1.241 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.6302, allocations: 11.98 kB / 1.241 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.6321, allocations: 1.492 MB / 1.242 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.6322, allocations: 3.984 kB / 1.242 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006733/0.6389, allocations: 1.288 MB / 1.243 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.6392, allocations: 152.5 kB / 1.243 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.6394, allocations: 19.92 kB / 1.243 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/0.6399, allocations: 39.95 kB / 1.243 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.6402, allocations: 43.83 kB / 1.243 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.6402, allocations: 19.97 kB / 1.244 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005265/0.6408, allocations: 299.1 kB / 1.244 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6408, allocations: 0 / 1.244 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008523/0.6416, allocations: 159.9 kB / 1.244 GB, free: 4.672 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.0004229/0.6421, allocations: 174.8 kB / 1.244 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003433/0.6455, allocations: 1.025 MB / 1.245 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6455, allocations: 0 / 1.245 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.6471, allocations: 319.2 kB / 1.245 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/0.6478, allocations: 101.9 kB / 1.246 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.6499, allocations: 1.015 MB / 1.247 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.6503, allocations: 0.8074 MB / 1.247 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003742/0.6507, allocations: 55.33 kB / 1.247 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.6508, allocations: 31.42 kB / 1.247 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.6508, allocations: 4 kB / 1.247 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of Templates: time 0.6991/1.35, allocations: 11.56 MB / 1.259 GB, free: 183.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)