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.00129/0.00129, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001487/0.001487, allocations: 214.6 kB / 23.02 MB, free: 4.953 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.115/3.115, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] 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.002013/0.002013, allocations: 61.67 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3054, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003087/0.3085, allocations: 1.701 MB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3099, allocations: 0.7324 MB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.31, allocations: 4 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.252e-05/0.3101, allocations: 11.86 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.483e-05/0.3102, allocations: 15.75 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.3106, allocations: 111.7 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3108, allocations: 111.6 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3109, allocations: 29.05 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.3109, allocations: 43.8 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.311, allocations: 55.7 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.311, allocations: 12 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.3113, allocations: 115.9 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.3113, allocations: 27.91 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.3114, allocations: 39.8 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3117, allocations: 175.3 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3117, allocations: 4 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3117, allocations: 3.938 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3117, allocations: 0 / 1.348 GB, free: 12.71 MB / 1.045 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.0006195/0.3123, allocations: 369.6 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3123, allocations: 8.031 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.408e-05/0.3123, allocations: 4.188 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.3124, allocations: 46.73 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3124, allocations: 12.84 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3125, allocations: 125.1 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3126, allocations: 12.36 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.3126, allocations: 12.31 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.3129, allocations: 122.6 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3129, allocations: 0 / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3129, allocations: 4 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3129, allocations: 4 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.3133, allocations: 107.9 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.3138, allocations: 359.5 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.3142, allocations: 102.5 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.3144, allocations: 60.86 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.3146, allocations: 43.95 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3147, allocations: 42.5 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 3.036e-06/0.3147, allocations: 3.984 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006383/0.3153, allocations: 189.4 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.3153, allocations: 51.41 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.3155, allocations: 168.5 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3155, allocations: 25.7 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.3156, allocations: 100.1 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3156, allocations: 27.75 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.3157, allocations: 25.7 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3158, allocations: 322.8 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.316, allocations: 40.34 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3161, allocations: 55.83 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.3164, allocations: 100.8 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3164, allocations: 0 / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000388/0.3168, allocations: 149.4 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3168, allocations: 6.031 kB / 1.351 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3169, allocations: 3.984 kB / 1.351 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3169, allocations: 4 kB / 1.351 GB, free: 9.859 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.317, allocations: 23.98 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.317, allocations: 0 / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3171, allocations: 15.94 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3171, allocations: 8 kB / 1.351 GB, free: 9.812 MB / 1.045 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 0.0001033/0.3172, allocations: 121.8 kB / 1.351 GB, free: 9.684 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.3173, allocations: 15.83 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.3177, allocations: 154.9 kB / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3177, allocations: 0 / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3177, allocations: 0 / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3177, allocations: 3.938 kB / 1.351 GB, free: 9.504 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.318, allocations: 176.7 kB / 1.351 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.318, allocations: 384 / 1.351 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.3181, allocations: 31.86 kB / 1.352 GB, free: 9.258 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.3181, allocations: 0 / 1.352 GB, free: 9.258 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3181, allocations: 4 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3181, allocations: 3.938 kB / 1.352 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3181, allocations: 0 / 1.352 GB, free: 9.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.3186, allocations: 239.4 kB / 1.352 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.3186, allocations: 27.83 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3186, allocations: 0 / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.3188, allocations: 15.98 kB / 1.352 GB, free: 8.957 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.3188, allocations: 3.984 kB / 1.352 GB, free: 8.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3188, allocations: 7.984 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.48e-05/0.3189, allocations: 120 kB / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3189, allocations: 0 / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002752/0.3192, allocations: 31.94 kB / 1.352 GB, free: 8.797 MB / 1.045 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.0007991/0.32, allocations: 0.7903 MB / 1.353 GB, free: 7.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.3204, allocations: 95.86 kB / 1.353 GB, free: 7.887 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3204, allocations: 4 kB / 1.353 GB, free: 7.883 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3206, allocations: 55.89 kB / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.321, allocations: 48.11 kB / 1.353 GB, free: 7.785 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.3234, allocations: 1.761 MB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.71e-05/0.3235, allocations: 88.19 kB / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.237e-05/0.3235, allocations: 8.484 kB / 1.355 GB, free: 5.828 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.167e-05/0.3236, allocations: 35.42 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of SimCode: time 8.22e-07/0.3236, allocations: 0 / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.3485, allocations: 3.563 MB / 1.358 GB, free: 2.418 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.72, allocations: 7.312 kB / 1.358 GB, free: 2.414 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.111179803032428] Failed to read output from testmodel.py, exit status != 0: 11.875064546940848 11.893889726 11.57858104 Calling exit ...