Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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.001778/0.001778, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002049/0.002049, allocations: 212 kB / 20.13 MB, free: 2.949 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.016/3.016, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 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.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",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.002115/0.002115, allocations: 69.31 kB / 1.165 GB, free: 468 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8559, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002559/0.8585, allocations: 1.755 MB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.8595, allocations: 0.791 MB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.8596, allocations: 2.062 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.494e-05/0.8596, allocations: 10.59 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.229e-05/0.8597, allocations: 24.55 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.86, allocations: 109.7 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.8602, allocations: 110.6 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.8603, allocations: 27.53 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.8603, allocations: 42.97 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.8604, allocations: 52.28 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.8604, allocations: 10.19 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.8607, allocations: 117.8 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.8607, allocations: 24.2 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.8608, allocations: 45.12 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.861, allocations: 176.4 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.861, allocations: 0 / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.323e-06/0.861, allocations: 4 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.861, allocations: 0 / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005604/0.8616, allocations: 449.6 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.8616, allocations: 9.188 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.637e-05/0.8616, allocations: 3.312 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.677e-05/0.8616, allocations: 44.56 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.8617, allocations: 18.81 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.551e-05/0.8618, allocations: 184 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.8618, allocations: 7.312 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.8618, allocations: 7.25 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.8621, allocations: 122.9 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.8621, allocations: 1.781 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.8621, allocations: 4.609 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.8621, allocations: 3.562 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.8625, allocations: 118.2 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.863, allocations: 396.8 kB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.8633, allocations: 100.5 kB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.8635, allocations: 63.25 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.8638, allocations: 0.5546 MB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.8638, allocations: 36.53 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.8638, allocations: 7.938 kB / 1.345 GB, free: 12.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006646/0.8645, allocations: 186 kB / 1.346 GB, free: 12.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.8645, allocations: 56.72 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.8646, allocations: 167.3 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.8646, allocations: 29.7 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.8647, allocations: 99.45 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.8647, allocations: 30.27 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.8647, allocations: 24.39 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.8648, allocations: 321.7 kB / 1.346 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.865, allocations: 43.58 kB / 1.346 GB, free: 11.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.8651, allocations: 51.98 kB / 1.346 GB, free: 11.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.8655, allocations: 97.97 kB / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8655, allocations: 0 / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004222/0.8659, allocations: 151.8 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.8659, allocations: 4.625 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8659, allocations: 3.938 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.8659, allocations: 2.016 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.8661, allocations: 27.98 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.8661, allocations: 0.7969 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.8662, allocations: 20 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.8662, allocations: 3.422 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.406e-05/0.8663, allocations: 122.3 kB / 1.347 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.8664, allocations: 14.67 kB / 1.347 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.8668, allocations: 151.8 kB / 1.347 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.8668, allocations: 4.562 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8668, allocations: 1.562 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8668, allocations: 4.703 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.867, allocations: 212.6 kB / 1.347 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.867, allocations: 384 / 1.347 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.8672, allocations: 28.86 kB / 1.347 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.8672, allocations: 0 / 1.347 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.8672, allocations: 5.188 kB / 1.347 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.8672, allocations: 10.2 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8672, allocations: 0 / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.8676, allocations: 235.8 kB / 1.347 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.8676, allocations: 109 kB / 1.348 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.8677, allocations: 1.766 kB / 1.348 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.8678, allocations: 11.69 kB / 1.348 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.8679, allocations: 9.719 kB / 1.348 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.8679, allocations: 6.781 kB / 1.348 GB, free: 10.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.445e-05/0.8679, allocations: 119.7 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.8679, allocations: 1.469 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002784/0.8682, allocations: 26.81 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007003/0.8689, allocations: 0.7901 MB / 1.348 GB, free: 9.836 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000417/0.8693, allocations: 105.5 kB / 1.349 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8693, allocations: 0 / 1.349 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.8695, allocations: 58.94 kB / 1.349 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.8699, allocations: 31.55 kB / 1.349 GB, free: 9.785 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.872, allocations: 1.779 MB / 1.35 GB, free: 8.402 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.8721, allocations: 0.699 MB / 1.351 GB, free: 7.707 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.432e-05/0.8722, allocations: 14.09 kB / 1.351 GB, free: 7.703 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.8723, allocations: 32.03 kB / 1.351 GB, free: 7.68 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.8723, allocations: 0 / 1.351 GB, free: 7.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.8932, allocations: 3.323 MB / 1.354 GB, free: 7.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.803/9.696, allocations: 7.031 kB / 1.354 GB, free: 7.176 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.14001809799811] Failed to read output from testmodel.py, exit status != 0: 9.82567414001096 9.841099568 8.977174937 Calling exit ...