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.001581/0.001581, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00193/0.00193, allocations: 191.6 kB / 16.25 MB, free: 6.633 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 75.92 kB / 0.9115 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3886, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00484/0.3936, allocations: 3.04 MB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.5697, allocations: 151.2 MB / 1.218 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.5702, allocations: 7.938 kB / 1.218 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.5707, allocations: 71.45 kB / 1.218 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009485/0.5716, allocations: 242.5 kB / 1.219 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.5742, allocations: 0.9442 MB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000878/0.5751, allocations: 0.7875 MB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.5753, allocations: 83.88 kB / 1.22 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.5757, allocations: 327 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.5762, allocations: 334.8 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.5763, allocations: 60 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.5778, allocations: 0.8303 MB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.578, allocations: 155.4 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.5783, allocations: 290.8 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.5796, allocations: 1.001 MB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5796, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5796, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5796, allocations: 4 kB / 1.223 GB, free: 10.86 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.002825/0.5825, allocations: 1.055 MB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.5825, allocations: 11.97 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/0.5852, allocations: 271.7 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.5858, allocations: 400.8 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.586, allocations: 99.83 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.5861, allocations: 44 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.5869, allocations: 360.2 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.587, allocations: 4 kB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.587, allocations: 15.98 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.587, allocations: 8 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007487/0.5878, allocations: 257.4 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004611/0.5924, allocations: 1.673 MB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.5932, allocations: 254.5 kB / 1.228 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.5937, allocations: 165.8 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.5938, allocations: 7.938 kB / 1.228 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008062/0.5946, allocations: 301.5 kB / 1.228 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.575e-06/0.5946, allocations: 0 / 1.228 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008806/0.6034, allocations: 1.493 MB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/0.6036, allocations: 85.11 kB / 1.23 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007318/0.6043, allocations: 457.7 kB / 1.23 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.6045, allocations: 41.7 kB / 1.23 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.6047, allocations: 200.8 kB / 1.23 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.6049, allocations: 102.6 kB / 1.23 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.6052, allocations: 154.2 kB / 1.231 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.6054, allocations: 354.8 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007975/0.6062, allocations: 273.1 kB / 1.231 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009522/0.6072, allocations: 421.7 kB / 1.232 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007537/0.6147, allocations: 1.861 MB / 1.233 GB, free: 168 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.6148, allocations: 0 / 1.233 GB, free: 168 kB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007871/0.6227, allocations: 1.576 MB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.423e-05/0.6228, allocations: 63.41 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.6228, allocations: 3.984 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.6246, allocations: 403 kB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.6252, allocations: 87.86 kB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/0.6311, allocations: 4.681 MB / 1.24 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.6323, allocations: 99.23 kB / 1.24 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/0.6324, allocations: 39.95 kB / 1.24 GB, free: 8.828 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.0003392/0.6328, allocations: 168.8 kB / 1.24 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.73e-05/0.6329, allocations: 51.61 kB / 1.24 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.633, allocations: 43.56 kB / 1.24 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.633, allocations: 8 kB / 1.24 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.633, allocations: 3.938 kB / 1.24 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.633, allocations: 0 / 1.24 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.6336, allocations: 477.1 kB / 1.241 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6336, allocations: 0 / 1.241 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.6338, allocations: 27.97 kB / 1.241 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006161/0.6344, allocations: 225.5 kB / 1.241 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.6344, allocations: 11.98 kB / 1.241 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.6362, allocations: 1.492 MB / 1.243 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6363, allocations: 4 kB / 1.243 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/0.6426, allocations: 1.29 MB / 1.244 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.6428, allocations: 156.5 kB / 1.244 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.6429, allocations: 11.98 kB / 1.244 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.6434, allocations: 39.95 kB / 1.244 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.6436, allocations: 39.89 kB / 1.244 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.6436, allocations: 15.98 kB / 1.244 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003738/0.644, allocations: 299.1 kB / 1.244 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.644, allocations: 0 / 1.244 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007188/0.6448, allocations: 171.8 kB / 1.245 GB, free: 4.168 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.0003587/0.6451, allocations: 169.7 kB / 1.245 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003216/0.6483, allocations: 1.061 MB / 1.246 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6484, allocations: 0 / 1.246 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.6499, allocations: 329.5 kB / 1.246 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.6506, allocations: 109.8 kB / 1.246 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.6523, allocations: 1.015 MB / 1.247 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.6526, allocations: 0.8074 MB / 1.248 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003024/0.6529, allocations: 55.33 kB / 1.248 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.653, allocations: 43.42 kB / 1.248 GB, free: 492 kB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.6531, allocations: 0 / 1.248 GB, free: 492 kB / 0.9981 GB Notification: Performance of Templates: time 0.6268/1.28, allocations: 12.1 MB / 1.26 GB, free: 183.4 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)