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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> 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.000858/0.0008579, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00515/0.00515, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.222/1.222, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.392/2.392, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004196, allocations: 10.66 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2493, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.002981/0.2523, allocations: 2.683 MB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.3903, allocations: 149.5 MB / 1.207 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.3906, allocations: 4 kB / 1.207 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.3909, allocations: 71.44 kB / 1.207 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007296/0.3916, allocations: 246.5 kB / 1.208 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.3937, allocations: 0.9255 MB / 1.209 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007427/0.3944, allocations: 0.7446 MB / 1.209 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3946, allocations: 86.03 kB / 1.209 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.3949, allocations: 287 kB / 1.21 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004137/0.3954, allocations: 306.8 kB / 1.21 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.3954, allocations: 32 kB / 1.21 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.3968, allocations: 0.8809 MB / 1.211 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3969, allocations: 123.6 kB / 1.211 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.3972, allocations: 284.4 kB / 1.211 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.3983, allocations: 0.9579 MB / 1.212 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3983, allocations: 0 / 1.212 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3983, allocations: 3.938 kB / 1.212 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.3983, allocations: 0 / 1.212 GB, free: 7.137 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.002286/0.4006, allocations: 0.9659 MB / 1.213 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4006, allocations: 15.97 kB / 1.213 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.062e-05/0.4007, allocations: 70.66 kB / 1.213 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.4031, allocations: 263.7 kB / 1.214 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.4036, allocations: 396.9 kB / 1.214 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.77e-05/0.4037, allocations: 91.83 kB / 1.214 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4038, allocations: 43.91 kB / 1.214 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007582/0.4046, allocations: 380.2 kB / 1.214 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4046, allocations: 8 kB / 1.214 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.4047, allocations: 11.98 kB / 1.214 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.4047, allocations: 11.94 kB / 1.214 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.4054, allocations: 273.5 kB / 1.215 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.4095, allocations: 1.72 MB / 1.216 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.4103, allocations: 270.6 kB / 1.217 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.4107, allocations: 176.8 kB / 1.217 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.4108, allocations: 0 / 1.217 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006776/0.4114, allocations: 317.2 kB / 1.217 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.4115, allocations: 0 / 1.217 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.007855/0.4193, allocations: 1.561 MB / 1.219 GB, free: 324 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4194, allocations: 85.05 kB / 1.219 GB, free: 220 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.4199, allocations: 461.6 kB / 1.219 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/0.42, allocations: 41.64 kB / 1.219 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.4201, allocations: 204.9 kB / 1.219 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.4202, allocations: 102.6 kB / 1.219 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4203, allocations: 69.67 kB / 1.22 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4205, allocations: 354.7 kB / 1.22 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/0.4212, allocations: 289.1 kB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000862/0.4221, allocations: 437.8 kB / 1.221 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007378/0.4295, allocations: 1.947 MB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4295, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006936/0.4364, allocations: 1.63 MB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.4365, allocations: 59.41 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4365, allocations: 3.938 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.4381, allocations: 407.2 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.4386, allocations: 103.7 kB / 1.225 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005027/0.4437, allocations: 4.466 MB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008217/0.4445, allocations: 107.2 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.258e-05/0.4446, allocations: 39.95 kB / 1.229 GB, free: 5.047 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.0002409/0.4448, allocations: 169.7 kB / 1.229 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.4449, allocations: 47.42 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.445, allocations: 39.58 kB / 1.229 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.445, allocations: 4 kB / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.445, allocations: 4 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.445, allocations: 4 kB / 1.229 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.4455, allocations: 485.1 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4455, allocations: 0 / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.4457, allocations: 27.97 kB / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005668/0.4463, allocations: 237.5 kB / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.4463, allocations: 11.98 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.448, allocations: 1.5 MB / 1.232 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.448, allocations: 0 / 1.232 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/0.4539, allocations: 1.365 MB / 1.233 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.4541, allocations: 164.5 kB / 1.233 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.029e-05/0.4542, allocations: 11.98 kB / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.4547, allocations: 43.95 kB / 1.233 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4548, allocations: 43.89 kB / 1.233 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.4548, allocations: 19.97 kB / 1.233 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003284/0.4552, allocations: 295.1 kB / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.4552, allocations: 0 / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004905/0.4557, allocations: 159.9 kB / 1.234 GB, free: 300 kB / 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.003104/0.4588, allocations: 1.492 MB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002862/0.4616, allocations: 1.056 MB / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4617, allocations: 0 / 1.236 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.4631, allocations: 337.4 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.4637, allocations: 109.9 kB / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/0.4824, allocations: 6.915 MB / 1.243 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.4827, allocations: 0.8074 MB / 1.244 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.483, allocations: 55.38 kB / 1.244 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.4832, allocations: 139.4 kB / 1.244 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.4832, allocations: 3.938 kB / 1.244 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.444/2.927, allocations: 15.26 MB / 1.259 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/2.927, allocations: 261.9 kB / 1.259 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/5.455, allocations: 0 / 1.259 GB, free: 189.4 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)