Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001768/0.001768, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002073/0.002073, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.8 MB / 0.7715 GB, free: 3.828 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_11_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.002064/0.002064, allocations: 65.44 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2912, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003078/0.2943, allocations: 1.699 MB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2956, allocations: 0.7342 MB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.2957, allocations: 0 / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.432e-05/0.2957, allocations: 11.86 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.2958, allocations: 27.67 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.2962, allocations: 95.7 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.2963, allocations: 111.6 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2965, allocations: 37.28 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.2965, allocations: 43.84 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.2966, allocations: 47.77 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.2966, allocations: 15.94 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.2969, allocations: 123.9 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.297, allocations: 23.91 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.527e-05/0.297, allocations: 43.8 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2973, allocations: 164.4 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2973, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2973, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2973, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 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.0006485/0.2979, allocations: 381.6 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.298, allocations: 8.031 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.242e-05/0.298, allocations: 4.188 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.298, allocations: 42.73 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.2981, allocations: 12.89 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2982, allocations: 126.3 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2982, allocations: 8.375 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2982, allocations: 16.38 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.2986, allocations: 125.4 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2986, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2986, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2986, allocations: 4 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.299, allocations: 107.9 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.2996, allocations: 347.5 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.2999, allocations: 110.5 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.3001, allocations: 60.81 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.3004, allocations: 35.97 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3004, allocations: 42.44 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.3004, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006392/0.301, allocations: 185.7 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.3011, allocations: 59.39 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3012, allocations: 163.3 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3012, allocations: 33.7 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.3013, allocations: 104.1 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.3013, allocations: 31.73 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.3014, allocations: 17.72 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3015, allocations: 322.8 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.3017, allocations: 47.95 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.3019, allocations: 51.89 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.3022, allocations: 96.78 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3022, allocations: 0 / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003939/0.3026, allocations: 141.5 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3026, allocations: 4 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3026, allocations: 4 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3026, allocations: 4 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3028, allocations: 27.97 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3028, allocations: 0 / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3029, allocations: 23.94 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.3029, allocations: 0 / 1.29 GB, free: 4.574 MB / 0.9825 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 9.449e-05/0.303, allocations: 117.8 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.3031, allocations: 20.22 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.3036, allocations: 166.8 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3036, allocations: 0 / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3036, allocations: 3.984 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3036, allocations: 0 / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.3038, allocations: 160.7 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3038, allocations: 0 / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3039, allocations: 31.91 kB / 1.29 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3039, allocations: 4 kB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.304, allocations: 0 / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.304, allocations: 0 / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.304, allocations: 0 / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.3044, allocations: 247.3 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.3045, allocations: 27.77 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3045, allocations: 4 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3046, allocations: 15.98 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.3047, allocations: 7.984 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3047, allocations: 4 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001055/0.3048, allocations: 120 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3048, allocations: 0 / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002702/0.305, allocations: 31.94 kB / 1.291 GB, free: 3.551 MB / 0.9825 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.0008498/0.3059, allocations: 0.7903 MB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.3063, allocations: 108.1 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3063, allocations: 0 / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.3065, allocations: 55.89 kB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3069, allocations: 38.72 kB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.3093, allocations: 1.772 MB / 1.293 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.72e-05/0.3094, allocations: 84.19 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.913e-05/0.3095, allocations: 20.42 kB / 1.294 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.3096, allocations: 31.42 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3096, allocations: 0 / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.3339, allocations: 3.572 MB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.08, allocations: 4.062 kB / 1.297 GB, free: 13.16 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.603220137069002] Failed to read output from testmodel.py, exit status != 0: 12.719453482073732 12.272859478 11.970130781 Calling exit ...