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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 216.5 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.207/3.207, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 61.92 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3577, allocations: 179 MB / 1.345 GB, free: 444 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005017/0.3627, allocations: 3.056 MB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.5556, allocations: 156.8 MB / 1.501 GB, free: 15.94 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000341/0.5559, allocations: 11.94 kB / 1.501 GB, free: 15.93 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.5563, allocations: 91.19 kB / 1.502 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0009372/0.5573, allocations: 282.1 kB / 1.502 GB, free: 15.56 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.56, allocations: 1.044 MB / 1.503 GB, free: 14.52 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.5612, allocations: 0.7874 MB / 1.504 GB, free: 13.73 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.5614, allocations: 74.16 kB / 1.504 GB, free: 13.66 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.562, allocations: 327 kB / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005796/0.5625, allocations: 334.8 kB / 1.504 GB, free: 13.01 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.5626, allocations: 60 kB / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.5644, allocations: 0.8537 MB / 1.505 GB, free: 12.1 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.5646, allocations: 155.6 kB / 1.505 GB, free: 11.95 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.565, allocations: 278.8 kB / 1.506 GB, free: 11.67 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.5666, allocations: 0.9927 MB / 1.507 GB, free: 10.68 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5666, allocations: 0 / 1.507 GB, free: 10.68 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5666, allocations: 0 / 1.507 GB, free: 10.68 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.5666, allocations: 0 / 1.507 GB, free: 10.68 MB / 1.201 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.002829/0.5694, allocations: 1.047 MB / 1.508 GB, free: 9.578 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5695, allocations: 12.03 kB / 1.508 GB, free: 9.566 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.5695, allocations: 4.188 kB / 1.508 GB, free: 9.562 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.922e-05/0.5695, allocations: 58.73 kB / 1.508 GB, free: 9.496 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/0.5727, allocations: 323.7 kB / 1.508 GB, free: 9.18 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008828/0.5735, allocations: 355.2 kB / 1.508 GB, free: 8.805 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.5737, allocations: 91.83 kB / 1.508 GB, free: 8.703 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.5738, allocations: 40 kB / 1.508 GB, free: 8.664 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008984/0.5747, allocations: 372.2 kB / 1.509 GB, free: 8.277 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5747, allocations: 3.938 kB / 1.509 GB, free: 8.273 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.5748, allocations: 8 kB / 1.509 GB, free: 8.266 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.5748, allocations: 11.94 kB / 1.509 GB, free: 8.254 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008194/0.5756, allocations: 253.5 kB / 1.509 GB, free: 8.004 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004935/0.5805, allocations: 1.653 MB / 1.511 GB, free: 6.293 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.5814, allocations: 230.6 kB / 1.511 GB, free: 6.059 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.5819, allocations: 153.4 kB / 1.511 GB, free: 5.906 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.5819, allocations: 0 / 1.511 GB, free: 5.906 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007797/0.5827, allocations: 308.7 kB / 1.511 GB, free: 5.586 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.5827, allocations: 0 / 1.511 GB, free: 5.586 MB / 1.201 GB Notification: Performance of matching and sorting (n=30): time 0.008897/0.5916, allocations: 1.371 MB / 1.513 GB, free: 4.203 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.5916, allocations: 85.11 kB / 1.513 GB, free: 4.102 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.5923, allocations: 453.8 kB / 1.513 GB, free: 3.648 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/0.5925, allocations: 41.7 kB / 1.513 GB, free: 3.602 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.5928, allocations: 205 kB / 1.513 GB, free: 3.398 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.5929, allocations: 103.2 kB / 1.514 GB, free: 3.297 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003312/0.5932, allocations: 158.2 kB / 1.514 GB, free: 3.133 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5934, allocations: 350.7 kB / 1.514 GB, free: 2.781 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008654/0.5943, allocations: 281.1 kB / 1.514 GB, free: 2.508 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.5953, allocations: 421.8 kB / 1.515 GB, free: 2.066 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008292/0.6036, allocations: 1.854 MB / 1.517 GB, free: 160 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.6036, allocations: 8 kB / 1.517 GB, free: 152 kB / 1.201 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008092/0.6117, allocations: 1.584 MB / 1.518 GB, free: 14.53 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/0.6118, allocations: 71.33 kB / 1.518 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6118, allocations: 0 / 1.518 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/0.6137, allocations: 399.1 kB / 1.519 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.6143, allocations: 91.86 kB / 1.519 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006242/0.6205, allocations: 4.48 MB / 1.523 GB, free: 9.191 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.6215, allocations: 99.47 kB / 1.523 GB, free: 9.094 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.6216, allocations: 39.95 kB / 1.523 GB, free: 9.055 MB / 1.217 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.0003753/0.622, allocations: 189.8 kB / 1.523 GB, free: 8.859 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.6221, allocations: 47.67 kB / 1.523 GB, free: 8.812 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/0.6222, allocations: 43.52 kB / 1.523 GB, free: 8.77 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.6222, allocations: 7.938 kB / 1.523 GB, free: 8.762 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6222, allocations: 0 / 1.523 GB, free: 8.762 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6222, allocations: 0 / 1.523 GB, free: 8.762 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.6228, allocations: 440.3 kB / 1.524 GB, free: 8.289 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6228, allocations: 3.984 kB / 1.524 GB, free: 8.285 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.623, allocations: 23.98 kB / 1.524 GB, free: 8.262 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006707/0.6237, allocations: 233.5 kB / 1.524 GB, free: 8.027 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.6237, allocations: 15.97 kB / 1.524 GB, free: 8.012 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.6257, allocations: 1.488 MB / 1.526 GB, free: 6.477 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6257, allocations: 0 / 1.526 GB, free: 6.477 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007128/0.6329, allocations: 1.307 MB / 1.527 GB, free: 5.141 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.6332, allocations: 79.62 kB / 1.527 GB, free: 5.062 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/0.6333, allocations: 16 kB / 1.527 GB, free: 5.047 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/0.6338, allocations: 35.95 kB / 1.527 GB, free: 5.012 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.6339, allocations: 43.94 kB / 1.527 GB, free: 4.969 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.6339, allocations: 19.91 kB / 1.527 GB, free: 4.949 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004216/0.6344, allocations: 299.1 kB / 1.527 GB, free: 4.66 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6344, allocations: 4 kB / 1.527 GB, free: 4.656 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007532/0.6351, allocations: 159.8 kB / 1.527 GB, free: 4.5 MB / 1.217 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.003781/0.6389, allocations: 1.449 MB / 1.529 GB, free: 3.016 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003683/0.6426, allocations: 1.003 MB / 1.53 GB, free: 1.957 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6426, allocations: 4.125 kB / 1.53 GB, free: 1.953 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.6442, allocations: 315.9 kB / 1.53 GB, free: 1.641 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007587/0.645, allocations: 113.7 kB / 1.53 GB, free: 1.527 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/0.6663, allocations: 6.583 MB / 1.537 GB, free: 10.79 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.6667, allocations: 0.8035 MB / 1.537 GB, free: 9.957 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.667, allocations: 55.27 kB / 1.538 GB, free: 9.902 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.6672, allocations: 139.4 kB / 1.538 GB, free: 9.766 MB / 1.232 GB Notification: Performance of SimCode: time 8.82e-07/0.6672, allocations: 3.938 kB / 1.538 GB, free: 9.762 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05096/0.7182, allocations: 16.94 MB / 1.554 GB, free: 9.059 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.58, allocations: 16.8 kB / 1.554 GB, free: 9.047 MB / 1.248 GB " [Timeout remaining time 284] (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 --stepSize=2.88 --timeout=800 --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) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 22.289637295005377] Failed to read output from testmodel.py, exit status != 0: 15.766124968999065 15.797484752 15.225168578 Calling exit ...