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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001574/0.001574, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 70 kB / 0.8985 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2301, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00403/0.2342, allocations: 3.049 MB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1363/0.3705, allocations: 151.1 MB / 1.203 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002956/0.3708, allocations: 4 kB / 1.203 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.3712, allocations: 71.45 kB / 1.203 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006706/0.3719, allocations: 250.5 kB / 1.203 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.3739, allocations: 0.9304 MB / 1.204 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007251/0.3746, allocations: 0.7407 MB / 1.205 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3748, allocations: 82.05 kB / 1.205 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.3751, allocations: 303 kB / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.3755, allocations: 318.8 kB / 1.205 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3756, allocations: 43.92 kB / 1.205 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.3771, allocations: 0.877 MB / 1.206 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.3772, allocations: 131.5 kB / 1.206 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.3775, allocations: 270.7 kB / 1.207 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.3786, allocations: 0.9659 MB / 1.208 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3786, allocations: 4 kB / 1.208 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3786, allocations: 4 kB / 1.208 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.3786, allocations: 0 / 1.208 GB, free: 8.441 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.002619/0.3812, allocations: 1.051 MB / 1.209 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3813, allocations: 11.97 kB / 1.209 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.527e-05/0.3813, allocations: 58.73 kB / 1.209 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.3839, allocations: 279.6 kB / 1.209 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.3845, allocations: 388.9 kB / 1.209 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/0.3846, allocations: 99.83 kB / 1.209 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.3847, allocations: 43.91 kB / 1.21 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007816/0.3855, allocations: 368.2 kB / 1.21 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3855, allocations: 4 kB / 1.21 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.3855, allocations: 15.98 kB / 1.21 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3856, allocations: 11.92 kB / 1.21 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.3863, allocations: 249.5 kB / 1.21 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/0.3907, allocations: 1.689 MB / 1.212 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.3914, allocations: 250.6 kB / 1.212 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/0.3919, allocations: 168.8 kB / 1.212 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.3919, allocations: 3.984 kB / 1.212 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007189/0.3926, allocations: 301.2 kB / 1.212 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.3926, allocations: 0 / 1.212 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.008422/0.4011, allocations: 1.496 MB / 1.214 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.4011, allocations: 85.11 kB / 1.214 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.4016, allocations: 457.6 kB / 1.214 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-05/0.4017, allocations: 41.7 kB / 1.214 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.4019, allocations: 200.9 kB / 1.215 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.858e-05/0.402, allocations: 102.6 kB / 1.215 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.4022, allocations: 154.2 kB / 1.215 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4024, allocations: 354.7 kB / 1.215 GB, free: 296 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000771/0.4031, allocations: 273.1 kB / 1.216 GB, free: 20 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009076/0.4041, allocations: 421.8 kB / 1.216 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00772/0.4118, allocations: 1.841 MB / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4118, allocations: 0 / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007539/0.4193, allocations: 1.583 MB / 1.219 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.4194, allocations: 63.41 kB / 1.219 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4194, allocations: 7.938 kB / 1.219 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.4212, allocations: 399.1 kB / 1.22 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.4217, allocations: 91.86 kB / 1.22 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005355/0.4271, allocations: 4.458 MB / 1.224 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00093/0.428, allocations: 95.27 kB / 1.224 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.113e-05/0.4281, allocations: 43.95 kB / 1.224 GB, free: 6.566 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.0002562/0.4284, allocations: 169.7 kB / 1.224 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.4285, allocations: 51.42 kB / 1.225 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.4285, allocations: 39.58 kB / 1.225 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4285, allocations: 4 kB / 1.225 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.4285, allocations: 0 / 1.225 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4286, allocations: 0 / 1.225 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.4291, allocations: 473.1 kB / 1.225 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4291, allocations: 7.984 kB / 1.225 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.4292, allocations: 23.92 kB / 1.225 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006225/0.4299, allocations: 237.6 kB / 1.225 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.4299, allocations: 11.98 kB / 1.225 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.4317, allocations: 1.5 MB / 1.227 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4317, allocations: 0 / 1.227 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006337/0.4381, allocations: 1.296 MB / 1.228 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.4383, allocations: 164.4 kB / 1.228 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/0.4384, allocations: 15.98 kB / 1.228 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.4389, allocations: 35.95 kB / 1.228 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.439, allocations: 39.94 kB / 1.228 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.439, allocations: 11.98 kB / 1.228 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003498/0.4394, allocations: 307.1 kB / 1.229 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4394, allocations: 3.938 kB / 1.229 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005414/0.44, allocations: 152 kB / 1.229 GB, free: 1.902 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.003284/0.4432, allocations: 1.437 MB / 1.23 GB, free: 440 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003059/0.4463, allocations: 1.021 MB / 1.231 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4463, allocations: 0 / 1.231 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.4479, allocations: 329.6 kB / 1.231 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.4485, allocations: 106.2 kB / 1.232 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/0.4686, allocations: 6.754 MB / 1.238 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.469, allocations: 0.8035 MB / 1.239 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002801/0.4692, allocations: 51.39 kB / 1.239 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.4695, allocations: 139.4 kB / 1.239 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/0.4695, allocations: 0 / 1.239 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6613/1.131, allocations: 15.45 MB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/1.131, allocations: 257.1 kB / 1.254 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.466, allocations: 4.844 kB / 1.254 GB, free: 191.5 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)