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.001266/0.001266, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001476/0.001476, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.047 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.165/3.165, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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.001976/0.001976, allocations: 66.88 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3041, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.00289/0.307, allocations: 1.744 MB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3082, allocations: 0.8063 MB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.3083, allocations: 4 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.3083, allocations: 7.875 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.3084, allocations: 23.73 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.3088, allocations: 107.6 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.3089, allocations: 107.6 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.309, allocations: 32.98 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.3091, allocations: 43.84 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.3092, allocations: 59.77 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3092, allocations: 8 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.3095, allocations: 119.8 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.3095, allocations: 27.91 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.3096, allocations: 47.73 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.3098, allocations: 167.3 kB / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3098, allocations: 0 / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3099, allocations: 0 / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3099, allocations: 0 / 1.349 GB, free: 13.13 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.0006238/0.3105, allocations: 381.5 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3105, allocations: 8.031 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.332e-05/0.3105, allocations: 4.188 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.3106, allocations: 42.69 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.3106, allocations: 20.81 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.3107, allocations: 122.4 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3107, allocations: 4.375 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.3107, allocations: 12.38 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.3111, allocations: 129.4 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3111, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3111, allocations: 4 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3111, allocations: 4 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.3115, allocations: 107.9 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.312, allocations: 371.5 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3123, allocations: 94.59 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.3125, allocations: 68.81 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.3128, allocations: 43.91 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3128, allocations: 38.5 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3128, allocations: 0 / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006614/0.3134, allocations: 193.7 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3135, allocations: 55.39 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3136, allocations: 164.5 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3137, allocations: 29.8 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.3137, allocations: 100.1 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.3138, allocations: 31.73 kB / 1.351 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.3138, allocations: 21.72 kB / 1.351 GB, free: 10.94 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3139, allocations: 326.8 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.3141, allocations: 43.95 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.3143, allocations: 43.95 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.3146, allocations: 104.7 kB / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.3146, allocations: 0 / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004133/0.315, allocations: 149.4 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.315, allocations: 6.031 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3151, allocations: 0 / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3151, allocations: 3.938 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3152, allocations: 31.97 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3152, allocations: 0 / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.3153, allocations: 15.94 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3153, allocations: 0 / 1.351 GB, free: 10.21 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 8.995e-05/0.3154, allocations: 121.8 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.3155, allocations: 11.89 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.3159, allocations: 163.1 kB / 1.352 GB, free: 9.906 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3159, allocations: 3.984 kB / 1.352 GB, free: 9.902 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3159, allocations: 4 kB / 1.352 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3159, allocations: 0 / 1.352 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.3162, allocations: 180.6 kB / 1.352 GB, free: 9.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3162, allocations: 0 / 1.352 GB, free: 9.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.3163, allocations: 39.84 kB / 1.352 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3163, allocations: 0 / 1.352 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3163, allocations: 4 kB / 1.352 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3163, allocations: 0 / 1.352 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3163, allocations: 0 / 1.352 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.3168, allocations: 243.4 kB / 1.352 GB, free: 9.383 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.3168, allocations: 27.81 kB / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3169, allocations: 0 / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.317, allocations: 11.98 kB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.317, allocations: 11.98 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.317, allocations: 0 / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.644e-05/0.3171, allocations: 120 kB / 1.352 GB, free: 9.215 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3171, allocations: 0 / 1.352 GB, free: 9.215 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002705/0.3174, allocations: 31.94 kB / 1.352 GB, free: 9.184 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.0008332/0.3182, allocations: 0.7864 MB / 1.353 GB, free: 8.371 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.3187, allocations: 112.1 kB / 1.353 GB, free: 8.262 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3187, allocations: 0 / 1.353 GB, free: 8.262 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.3189, allocations: 51.91 kB / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.3193, allocations: 41.41 kB / 1.353 GB, free: 8.172 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.3217, allocations: 1.769 MB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.322, allocations: 0.7002 MB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.831e-05/0.3221, allocations: 8.5 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.3222, allocations: 35.42 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of SimCode: time 6.82e-07/0.3222, allocations: 0 / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.3459, allocations: 3.411 MB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.95, allocations: 17.81 kB / 1.359 GB, free: 2.297 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.451565084978938] Failed to read output from testmodel.py, exit status != 0: 12.1111936190282 12.137652309 11.822891422 Calling exit ...