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.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001378/0.001378, allocations: 198 kB / 16.14 MB, free: 6.734 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.22 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4222, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005848/0.4282, allocations: 3.024 MB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2015/0.6298, allocations: 151.2 MB / 1.218 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005577/0.6304, allocations: 4 kB / 1.218 GB, free: 152 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.6309, allocations: 79.44 kB / 1.218 GB, free: 72 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000983/0.6319, allocations: 242.5 kB / 1.218 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.6344, allocations: 0.9366 MB / 1.219 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008313/0.6353, allocations: 0.7368 MB / 1.22 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.6355, allocations: 89.98 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.6358, allocations: 295 kB / 1.22 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.6363, allocations: 322.8 kB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-05/0.6364, allocations: 36 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.6381, allocations: 0.8732 MB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.6383, allocations: 135.5 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.6386, allocations: 270.7 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.6399, allocations: 0.9659 MB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.64, allocations: 7.938 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.62e-07/0.64, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.64, allocations: 0 / 1.223 GB, free: 11.18 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.00296/0.6429, allocations: 1.051 MB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.643, allocations: 11.97 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/0.6457, allocations: 275.7 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007297/0.6464, allocations: 400.9 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.6465, allocations: 91.83 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.6466, allocations: 36 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.6475, allocations: 376.2 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.6475, allocations: 0 / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.6476, allocations: 12 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.6476, allocations: 4 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.6484, allocations: 257.4 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004789/0.6532, allocations: 1.685 MB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008315/0.6541, allocations: 246.5 kB / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.6546, allocations: 161.2 kB / 1.227 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.6546, allocations: 7.922 kB / 1.227 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008489/0.6555, allocations: 305.2 kB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.6555, allocations: 3.938 kB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008824/0.6643, allocations: 1.501 MB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.6644, allocations: 85.11 kB / 1.229 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/0.665, allocations: 453.7 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.6652, allocations: 37.7 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.6654, allocations: 208.8 kB / 1.23 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.6655, allocations: 94.7 kB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.6658, allocations: 158.2 kB / 1.23 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.666, allocations: 350.8 kB / 1.231 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008034/0.6668, allocations: 273.1 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009335/0.6677, allocations: 421.8 kB / 1.231 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008041/0.6758, allocations: 1.861 MB / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6758, allocations: 0 / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00786/0.6837, allocations: 1.576 MB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.6838, allocations: 59.41 kB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.6838, allocations: 8.125 kB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/0.6856, allocations: 398.9 kB / 1.235 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.6863, allocations: 91.86 kB / 1.235 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/0.6927, allocations: 4.467 MB / 1.239 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.6939, allocations: 99.17 kB / 1.24 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.6941, allocations: 39.95 kB / 1.24 GB, free: 9.383 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.000404/0.6945, allocations: 172.3 kB / 1.24 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6947, allocations: 47.42 kB / 1.24 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.6948, allocations: 39.58 kB / 1.24 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6948, allocations: 4 kB / 1.24 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.6948, allocations: 0 / 1.24 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6948, allocations: 0 / 1.24 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006945/0.6955, allocations: 481.1 kB / 1.24 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.6955, allocations: 11.94 kB / 1.24 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.6957, allocations: 31.91 kB / 1.24 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000741/0.6965, allocations: 221.5 kB / 1.241 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.6965, allocations: 11.98 kB / 1.241 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.6985, allocations: 1.492 MB / 1.242 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6985, allocations: 0 / 1.242 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006868/0.7054, allocations: 1.292 MB / 1.243 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.7057, allocations: 156.5 kB / 1.243 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.7059, allocations: 15.92 kB / 1.243 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.7064, allocations: 39.95 kB / 1.243 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.7067, allocations: 39.89 kB / 1.243 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.7067, allocations: 16.06 kB / 1.243 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000446/0.7072, allocations: 299.1 kB / 1.244 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7072, allocations: 0 / 1.244 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008127/0.708, allocations: 159.9 kB / 1.244 GB, free: 4.727 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.0004128/0.7084, allocations: 178 kB / 1.244 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003574/0.712, allocations: 1.025 MB / 1.245 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.712, allocations: 0 / 1.245 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.7136, allocations: 317.6 kB / 1.245 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.7144, allocations: 108 kB / 1.246 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.7164, allocations: 1.011 MB / 1.246 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.717, allocations: 0.8113 MB / 1.247 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003926/0.7174, allocations: 59.31 kB / 1.247 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.7176, allocations: 31.42 kB / 1.247 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/0.7176, allocations: 0 / 1.247 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.627/1.345, allocations: 11.56 MB / 1.259 GB, free: 183.6 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)