Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_10_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.001207/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001219/0.001219, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.27/2.27, allocations: 437 MB / 0.71 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.522, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003497/0.5255, allocations: 3.043 MB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1283/0.6538, allocations: 151.2 MB / 1.167 GB, free: 7.992 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.6543, allocations: 4 kB / 1.167 GB, free: 7.988 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003821/0.6547, allocations: 75.39 kB / 1.167 GB, free: 7.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000855/0.6556, allocations: 242.5 kB / 1.168 GB, free: 7.676 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.6577, allocations: 0.9232 MB / 1.169 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007857/0.6585, allocations: 0.7524 MB / 1.169 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.6587, allocations: 86.05 kB / 1.169 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.6591, allocations: 299 kB / 1.17 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004686/0.6596, allocations: 318.8 kB / 1.17 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.6597, allocations: 39.94 kB / 1.17 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.6612, allocations: 0.8731 MB / 1.171 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.6614, allocations: 127.6 kB / 1.171 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.6617, allocations: 266.8 kB / 1.171 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.6629, allocations: 0.9737 MB / 1.172 GB, free: 3.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6629, allocations: 0 / 1.172 GB, free: 3.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6629, allocations: 0 / 1.172 GB, free: 3.035 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.6629, allocations: 3.938 kB / 1.172 GB, free: 3.031 MB / 0.92 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.002658/0.6656, allocations: 1.063 MB / 1.173 GB, free: 1.906 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.6656, allocations: 8.031 kB / 1.173 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.504e-05/0.6657, allocations: 58.73 kB / 1.173 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.6682, allocations: 267.7 kB / 1.174 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.6688, allocations: 408.8 kB / 1.174 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.413e-05/0.6689, allocations: 91.83 kB / 1.174 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.6691, allocations: 40 kB / 1.174 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00079/0.6699, allocations: 372.2 kB / 1.174 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.6699, allocations: 0 / 1.174 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.6699, allocations: 8 kB / 1.174 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.6699, allocations: 11.94 kB / 1.174 GB, free: 0.582 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.6707, allocations: 253.5 kB / 1.175 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.6749, allocations: 1.685 MB / 1.176 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007223/0.6757, allocations: 258.6 kB / 1.177 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004383/0.6761, allocations: 152.8 kB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.6762, allocations: 7.984 kB / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006685/0.6768, allocations: 296.7 kB / 1.177 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.6768, allocations: 4 kB / 1.177 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008387/0.6852, allocations: 1.51 MB / 1.178 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.6853, allocations: 81.11 kB / 1.179 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.6859, allocations: 449.7 kB / 1.179 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.686, allocations: 41.69 kB / 1.179 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.6862, allocations: 200.9 kB / 1.179 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.6863, allocations: 98.73 kB / 1.179 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.6866, allocations: 154.2 kB / 1.179 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6867, allocations: 362.7 kB / 1.18 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/0.6875, allocations: 273.1 kB / 1.18 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009046/0.6884, allocations: 421.8 kB / 1.18 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007494/0.6959, allocations: 1.852 MB / 1.182 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.6959, allocations: 0 / 1.182 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007363/0.7033, allocations: 1.58 MB / 1.184 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.7034, allocations: 59.41 kB / 1.184 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.7034, allocations: 8.062 kB / 1.184 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.7051, allocations: 391.1 kB / 1.184 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.7056, allocations: 95.8 kB / 1.184 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005436/0.7111, allocations: 4.463 MB / 1.189 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009681/0.712, allocations: 99.25 kB / 1.189 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.7122, allocations: 40.19 kB / 1.189 GB, free: 1.168 MB / 0.9356 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.0003126/0.7125, allocations: 177.6 kB / 1.189 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.7126, allocations: 47.44 kB / 1.189 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.842e-05/0.7127, allocations: 39.58 kB / 1.189 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.7127, allocations: 7.984 kB / 1.189 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7127, allocations: 0 / 1.189 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7127, allocations: 0 / 1.189 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.7133, allocations: 477.1 kB / 1.19 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7133, allocations: 4 kB / 1.19 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.7134, allocations: 31.97 kB / 1.19 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005986/0.7141, allocations: 229.5 kB / 1.19 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.7141, allocations: 11.98 kB / 1.19 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.7159, allocations: 1.5 MB / 1.191 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.716, allocations: 0 / 1.191 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006339/0.7223, allocations: 1.285 MB / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.7225, allocations: 168.4 kB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.7227, allocations: 4 kB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004925/0.7232, allocations: 43.95 kB / 1.193 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.7233, allocations: 39.94 kB / 1.193 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.7233, allocations: 15.98 kB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003372/0.7237, allocations: 295.1 kB / 1.193 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7237, allocations: 0 / 1.193 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005628/0.7242, allocations: 163.9 kB / 1.193 GB, free: 12.5 MB / 0.9512 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.003117/0.7274, allocations: 1.441 MB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003022/0.7304, allocations: 1.041 MB / 1.196 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7304, allocations: 4.125 kB / 1.196 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.7319, allocations: 313.4 kB / 1.196 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/0.7326, allocations: 105.8 kB / 1.196 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/0.7522, allocations: 6.764 MB / 1.203 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.7526, allocations: 0.8035 MB / 1.203 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.7528, allocations: 59.38 kB / 1.203 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.7531, allocations: 139.4 kB / 1.204 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.7531, allocations: 0 / 1.204 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.565/8.318, allocations: 15.43 MB / 1.219 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/8.319, allocations: 266.2 kB / 1.219 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/10.72, allocations: 6.125 kB / 1.219 GB, free: 2.168 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)