Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_11_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.001398/0.001398, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.448/2.448, allocations: 469.8 MB / 0.7424 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 67.97 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2324, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003832/0.2363, allocations: 3.012 MB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.15/0.3863, allocations: 153.4 MB / 1.217 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.3865, allocations: 3.938 kB / 1.217 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.3869, allocations: 83.22 kB / 1.217 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007219/0.3876, allocations: 286 kB / 1.217 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.3896, allocations: 1.002 MB / 1.218 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007943/0.3905, allocations: 0.7837 MB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.3906, allocations: 86.05 kB / 1.219 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.391, allocations: 319 kB / 1.219 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004369/0.3914, allocations: 346.8 kB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.3916, allocations: 60 kB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.3929, allocations: 0.7797 MB / 1.22 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.393, allocations: 155.5 kB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.3933, allocations: 294.7 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3944, allocations: 0.9543 MB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3944, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3944, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.3944, allocations: 7.938 kB / 1.222 GB, free: 12.08 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.002415/0.3968, allocations: 1.055 MB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3969, allocations: 12.03 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.61e-05/0.397, allocations: 54.67 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.3992, allocations: 271.5 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.3998, allocations: 400.8 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.215e-05/0.3999, allocations: 95.83 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.214e-05/0.4, allocations: 36 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007523/0.4008, allocations: 372.2 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4008, allocations: 0 / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.4008, allocations: 12 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4008, allocations: 7.938 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.4015, allocations: 253.5 kB / 1.224 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/0.4056, allocations: 1.692 MB / 1.226 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.4063, allocations: 250.6 kB / 1.226 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/0.4068, allocations: 160.8 kB / 1.226 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.4068, allocations: 4.438 kB / 1.226 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006756/0.4075, allocations: 298.6 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.343e-06/0.4075, allocations: 0 / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.007548/0.4151, allocations: 1.505 MB / 1.228 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.4151, allocations: 81.11 kB / 1.228 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/0.4156, allocations: 461.6 kB / 1.229 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/0.4157, allocations: 41.7 kB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.4159, allocations: 200.9 kB / 1.229 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.129e-05/0.416, allocations: 94.66 kB / 1.229 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.4162, allocations: 158.2 kB / 1.229 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4164, allocations: 354.7 kB / 1.229 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/0.4171, allocations: 273.1 kB / 1.23 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008619/0.418, allocations: 421.8 kB / 1.23 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007032/0.425, allocations: 1.86 MB / 1.232 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.425, allocations: 0 / 1.232 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006728/0.4318, allocations: 1.58 MB / 1.233 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.4318, allocations: 67.34 kB / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4318, allocations: 4 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.4334, allocations: 395.2 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.4339, allocations: 95.8 kB / 1.234 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005294/0.4392, allocations: 4.683 MB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.44, allocations: 107.2 kB / 1.239 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.4401, allocations: 39.89 kB / 1.239 GB, free: 9.965 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.0002224/0.4403, allocations: 162.8 kB / 1.239 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.4404, allocations: 43.44 kB / 1.239 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.4404, allocations: 47.56 kB / 1.239 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4404, allocations: 7.938 kB / 1.239 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.4405, allocations: 0 / 1.239 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4405, allocations: 4 kB / 1.239 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.441, allocations: 473.2 kB / 1.239 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.441, allocations: 0 / 1.239 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.4411, allocations: 31.91 kB / 1.239 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/0.4417, allocations: 225.5 kB / 1.24 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.4417, allocations: 15.98 kB / 1.24 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.4434, allocations: 1.489 MB / 1.241 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4434, allocations: 0 / 1.241 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/0.4491, allocations: 1.298 MB / 1.242 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.4493, allocations: 164.5 kB / 1.243 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/0.4494, allocations: 8 kB / 1.243 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.4498, allocations: 35.95 kB / 1.243 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4499, allocations: 39.94 kB / 1.243 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.45, allocations: 19.92 kB / 1.243 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003438/0.4503, allocations: 303.1 kB / 1.243 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4503, allocations: 4 kB / 1.243 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004554/0.4508, allocations: 155.9 kB / 1.243 GB, free: 5.309 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.00308/0.4539, allocations: 1.439 MB / 1.245 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002846/0.4567, allocations: 1.048 MB / 1.246 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4567, allocations: 0 / 1.246 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.4581, allocations: 339.1 kB / 1.246 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.4587, allocations: 117.7 kB / 1.246 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3579/0.8166, allocations: 6.629 MB / 1.252 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.8168, allocations: 0.8095 MB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002526/0.817, allocations: 55.8 kB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.8172, allocations: 143.5 kB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.8172, allocations: 0 / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.677/4.495, allocations: 16.25 MB / 1.269 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/18.91, allocations: 10.09 kB / 1.269 GB, free: 182.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)