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.001691/0.001691, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002152/0.002152, allocations: 192.2 kB / 16.25 MB, free: 6.617 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.14 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3704, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004508/0.375, allocations: 3.036 MB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1816/0.5566, allocations: 151.2 MB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005573/0.5572, allocations: 7.938 kB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.5578, allocations: 75.5 kB / 1.218 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.5592, allocations: 246.5 kB / 1.219 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.5623, allocations: 0.9437 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001275/0.5636, allocations: 0.7837 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.5639, allocations: 86.03 kB / 1.22 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006564/0.5645, allocations: 323 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006681/0.5652, allocations: 338.8 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.5654, allocations: 60 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.5675, allocations: 0.8303 MB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.5678, allocations: 155.5 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.5682, allocations: 290.7 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.5702, allocations: 0.9971 MB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5703, allocations: 7.938 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5703, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.827e-05/0.5703, allocations: 0 / 1.223 GB, free: 10.82 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.003384/0.5737, allocations: 1.051 MB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5737, allocations: 11.97 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.5765, allocations: 279.7 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.5773, allocations: 396.9 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.5774, allocations: 91.83 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.5776, allocations: 36 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/0.5785, allocations: 372.2 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.5785, allocations: 0 / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.5786, allocations: 12 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.5786, allocations: 4 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007998/0.5794, allocations: 261.4 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005198/0.5846, allocations: 1.689 MB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/0.5855, allocations: 250.5 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.586, allocations: 161.8 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.586, allocations: 3.938 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008003/0.5868, allocations: 305.2 kB / 1.228 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 3.437e-06/0.5868, allocations: 0 / 1.228 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.009049/0.5959, allocations: 1.497 MB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.596, allocations: 81.11 kB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/0.5968, allocations: 453.7 kB / 1.23 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.597, allocations: 37.7 kB / 1.23 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.5972, allocations: 208.8 kB / 1.23 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.5974, allocations: 102.7 kB / 1.23 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004773/0.5978, allocations: 154.2 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002512/0.5981, allocations: 346.8 kB / 1.231 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/0.5989, allocations: 277.1 kB / 1.231 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009685/0.5999, allocations: 421.8 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007992/0.6079, allocations: 1.861 MB / 1.233 GB, free: 128 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.608, allocations: 0 / 1.233 GB, free: 128 kB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008065/0.616, allocations: 1.576 MB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/0.6161, allocations: 59.41 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.6161, allocations: 4 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.618, allocations: 403 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.6186, allocations: 91.86 kB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006175/0.6248, allocations: 4.693 MB / 1.24 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.6259, allocations: 103.2 kB / 1.24 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.6261, allocations: 39.95 kB / 1.24 GB, free: 8.777 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.0003549/0.6265, allocations: 168.4 kB / 1.24 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6266, allocations: 43.44 kB / 1.24 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.312e-05/0.6267, allocations: 43.56 kB / 1.24 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6267, allocations: 4 kB / 1.24 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6267, allocations: 3.938 kB / 1.24 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6267, allocations: 4 kB / 1.24 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.6273, allocations: 473.1 kB / 1.241 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6273, allocations: 4 kB / 1.241 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.6275, allocations: 27.91 kB / 1.241 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006301/0.6281, allocations: 225.5 kB / 1.241 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.6282, allocations: 11.98 kB / 1.241 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.6301, allocations: 1.489 MB / 1.243 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.6301, allocations: 4 kB / 1.243 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006481/0.6366, allocations: 1.295 MB / 1.244 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.6368, allocations: 156.5 kB / 1.244 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.6369, allocations: 8 kB / 1.244 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.6375, allocations: 43.95 kB / 1.244 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.6376, allocations: 43.88 kB / 1.244 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.6377, allocations: 15.98 kB / 1.244 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003808/0.638, allocations: 299.1 kB / 1.244 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6381, allocations: 0 / 1.244 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000665/0.6387, allocations: 163.8 kB / 1.245 GB, free: 4.125 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.0003678/0.6391, allocations: 186.5 kB / 1.245 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003359/0.6425, allocations: 1.045 MB / 1.246 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6425, allocations: 0 / 1.246 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.6441, allocations: 333.5 kB / 1.246 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.6448, allocations: 115.9 kB / 1.246 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.6466, allocations: 1.005 MB / 1.247 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.647, allocations: 0.8151 MB / 1.248 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003211/0.6473, allocations: 55.28 kB / 1.248 GB, free: 488 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.6474, allocations: 39.41 kB / 1.248 GB, free: 448 kB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.6474, allocations: 4 kB / 1.248 GB, free: 444 kB / 0.9981 GB Notification: Performance of Templates: time 0.5479/1.195, allocations: 12.1 MB / 1.26 GB, free: 183.4 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)