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.001312/0.001312, allocations: 104 kB / 15.6 MB, free: 148 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.001255/0.001255, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.502/2.502, allocations: 461.9 MB / 0.7347 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 61.47 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2409, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003957/0.2449, allocations: 2.999 MB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1388/0.3836, allocations: 153.4 MB / 1.206 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.384, allocations: 4 kB / 1.206 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.3843, allocations: 87.19 kB / 1.206 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007873/0.3851, allocations: 278.1 kB / 1.206 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.3873, allocations: 1.015 MB / 1.207 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008151/0.3881, allocations: 0.7836 MB / 1.208 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.3883, allocations: 90.03 kB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.3887, allocations: 323 kB / 1.208 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000491/0.3892, allocations: 334.8 kB / 1.208 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.3893, allocations: 60 kB / 1.209 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.3907, allocations: 0.7836 MB / 1.209 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.3908, allocations: 151.5 kB / 1.209 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.3911, allocations: 290.7 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.3923, allocations: 0.9621 MB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3923, allocations: 0 / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3923, allocations: 7.938 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.3923, allocations: 0 / 1.211 GB, free: 6.074 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.002427/0.3948, allocations: 1.051 MB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3948, allocations: 8.625 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.3949, allocations: 58.73 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.3972, allocations: 279.6 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.3978, allocations: 392.9 kB / 1.212 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.88e-05/0.3979, allocations: 103.8 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.398, allocations: 43.91 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007188/0.3987, allocations: 364.2 kB / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3987, allocations: 4 kB / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.3988, allocations: 4 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3988, allocations: 11.94 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/0.3995, allocations: 261.4 kB / 1.213 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.4036, allocations: 1.685 MB / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.4043, allocations: 252.1 kB / 1.215 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.4048, allocations: 164.8 kB / 1.215 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.4048, allocations: 4 kB / 1.215 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006344/0.4055, allocations: 297.9 kB / 1.216 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.542e-06/0.4055, allocations: 0 / 1.216 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.007759/0.4132, allocations: 1.497 MB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4133, allocations: 89.11 kB / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.4138, allocations: 457.6 kB / 1.217 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.4139, allocations: 41.7 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.414, allocations: 196.9 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.276e-05/0.4141, allocations: 98.64 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.4143, allocations: 158.2 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4145, allocations: 358.7 kB / 1.218 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000721/0.4152, allocations: 273.1 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008495/0.416, allocations: 421.7 kB / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007197/0.4233, allocations: 1.856 MB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4233, allocations: 0 / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006981/0.4303, allocations: 1.584 MB / 1.222 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.4303, allocations: 63.41 kB / 1.222 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4303, allocations: 3.938 kB / 1.222 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.4319, allocations: 403.1 kB / 1.223 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.4324, allocations: 91.86 kB / 1.223 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/0.4374, allocations: 4.668 MB / 1.227 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008361/0.4383, allocations: 99.31 kB / 1.228 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.4384, allocations: 39.95 kB / 1.228 GB, free: 3.969 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.0002451/0.4386, allocations: 170.2 kB / 1.228 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.4387, allocations: 43.53 kB / 1.228 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.4388, allocations: 43.56 kB / 1.228 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4388, allocations: 7.938 kB / 1.228 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4388, allocations: 3.938 kB / 1.228 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4388, allocations: 0 / 1.228 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.4393, allocations: 481 kB / 1.228 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4393, allocations: 0 / 1.228 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.4395, allocations: 23.97 kB / 1.228 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005511/0.44, allocations: 237.6 kB / 1.229 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.4401, allocations: 11.98 kB / 1.229 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.4417, allocations: 1.488 MB / 1.23 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4417, allocations: 4 kB / 1.23 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005799/0.4475, allocations: 1.294 MB / 1.231 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.4477, allocations: 160.5 kB / 1.231 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.4478, allocations: 4 kB / 1.231 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004598/0.4483, allocations: 39.95 kB / 1.231 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4484, allocations: 39.94 kB / 1.231 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.4484, allocations: 15.98 kB / 1.232 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000321/0.4487, allocations: 307.1 kB / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4488, allocations: 0 / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004925/0.4492, allocations: 163.9 kB / 1.232 GB, free: 15.31 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.003047/0.4523, allocations: 1.438 MB / 1.233 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002828/0.4551, allocations: 1.042 MB / 1.234 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4552, allocations: 3.938 kB / 1.234 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.4566, allocations: 345.6 kB / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.4571, allocations: 107.5 kB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/0.4752, allocations: 6.646 MB / 1.241 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.4755, allocations: 0.804 MB / 1.242 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002445/0.4757, allocations: 51.34 kB / 1.242 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.4759, allocations: 143.4 kB / 1.242 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.4759, allocations: 0 / 1.242 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.628/2.104, allocations: 16.25 MB / 1.258 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/13.49, allocations: 4.078 kB / 1.258 GB, free: 192.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)