Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, 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.002735/0.002735, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.711/1.711, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.939/2.939, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 66.42 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3217, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005322/0.3271, allocations: 3.046 MB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.4768, allocations: 151.2 MB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.4772, allocations: 4 kB / 1.203 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.4776, allocations: 75.44 kB / 1.203 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008926/0.4785, allocations: 249.6 kB / 1.203 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.4808, allocations: 0.9417 MB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008352/0.4816, allocations: 0.7876 MB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.4818, allocations: 82.05 kB / 1.205 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.4822, allocations: 323 kB / 1.205 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.4827, allocations: 330.8 kB / 1.206 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.4828, allocations: 64 kB / 1.206 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.4841, allocations: 0.838 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.4843, allocations: 151.5 kB / 1.207 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.4846, allocations: 290.8 kB / 1.207 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.4858, allocations: 0.9971 MB / 1.208 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4858, allocations: 0 / 1.208 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4858, allocations: 0 / 1.208 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.4858, allocations: 0 / 1.208 GB, free: 8.707 MB / 0.9669 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.002604/0.4884, allocations: 1.059 MB / 1.209 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4885, allocations: 12.62 kB / 1.209 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.796e-05/0.4885, allocations: 62.67 kB / 1.209 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/0.4911, allocations: 267.6 kB / 1.209 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.4916, allocations: 396.9 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.628e-05/0.4917, allocations: 91.83 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4918, allocations: 43.91 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.4926, allocations: 368.2 kB / 1.21 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4926, allocations: 0 / 1.21 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.4927, allocations: 12 kB / 1.21 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4927, allocations: 7.938 kB / 1.21 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006914/0.4934, allocations: 253.5 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/0.4977, allocations: 1.696 MB / 1.212 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.4984, allocations: 246.5 kB / 1.212 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.4989, allocations: 160.8 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.4989, allocations: 11.98 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006956/0.4996, allocations: 297.2 kB / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.4996, allocations: 0 / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.00828/0.5079, allocations: 1.505 MB / 1.214 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.508, allocations: 85.11 kB / 1.214 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.5085, allocations: 461.6 kB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.115e-05/0.5086, allocations: 41.7 kB / 1.215 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.5087, allocations: 200.9 kB / 1.215 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/0.5088, allocations: 90.66 kB / 1.215 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.5091, allocations: 158.2 kB / 1.215 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5092, allocations: 358.7 kB / 1.216 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007266/0.51, allocations: 273.1 kB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.5109, allocations: 417.8 kB / 1.216 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/0.5183, allocations: 1.864 MB / 1.218 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5184, allocations: 0 / 1.218 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007198/0.5256, allocations: 1.58 MB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.5256, allocations: 57.28 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5256, allocations: 7.938 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.5273, allocations: 391.1 kB / 1.22 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.5278, allocations: 95.8 kB / 1.22 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/0.5331, allocations: 4.682 MB / 1.225 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/0.534, allocations: 95.31 kB / 1.225 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/0.5341, allocations: 47.89 kB / 1.225 GB, free: 6.598 MB / 0.9825 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.0002715/0.5344, allocations: 165.6 kB / 1.225 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.5345, allocations: 43.53 kB / 1.225 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.012e-05/0.5346, allocations: 47.56 kB / 1.225 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5346, allocations: 0 / 1.225 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5346, allocations: 7.938 kB / 1.225 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5346, allocations: 4 kB / 1.225 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.5351, allocations: 477.1 kB / 1.226 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5351, allocations: 0 / 1.226 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.5353, allocations: 23.97 kB / 1.226 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005884/0.5359, allocations: 233.5 kB / 1.226 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.5359, allocations: 11.98 kB / 1.226 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.5376, allocations: 1.492 MB / 1.227 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5376, allocations: 0 / 1.227 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00626/0.5439, allocations: 1.299 MB / 1.229 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.5441, allocations: 156.5 kB / 1.229 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.5442, allocations: 12 kB / 1.229 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005032/0.5447, allocations: 43.95 kB / 1.229 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.5449, allocations: 39.94 kB / 1.229 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.5449, allocations: 11.98 kB / 1.229 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003587/0.5453, allocations: 307.1 kB / 1.229 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5453, allocations: 0 / 1.229 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006018/0.5459, allocations: 155.9 kB / 1.229 GB, free: 1.941 MB / 0.9825 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.003488/0.5494, allocations: 1.436 MB / 1.231 GB, free: 480 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003203/0.5526, allocations: 1.052 MB / 1.232 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5526, allocations: 0 / 1.232 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.5542, allocations: 333.5 kB / 1.232 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.5548, allocations: 117.7 kB / 1.232 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/0.5752, allocations: 6.755 MB / 1.239 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.5756, allocations: 0.8079 MB / 1.24 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003375/0.5759, allocations: 59.2 kB / 1.24 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.5761, allocations: 139.4 kB / 1.24 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of SimCode: time 1.463e-06/0.5762, allocations: 0 / 1.24 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.83/2.406, allocations: 16 MB / 1.255 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/2.407, allocations: 262.8 kB / 1.256 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.251/6.658, allocations: 4 kB / 1.256 GB, free: 192.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)