Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001844/0.001844, 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.001805/0.001805, allocations: 215.8 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.408/1.408, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.127/3.127, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_12_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.002043/0.002043, allocations: 68.27 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2997, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003143/0.3029, allocations: 1.699 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3042, allocations: 0.7363 MB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.3042, allocations: 4 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.3043, allocations: 15.8 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.3043, allocations: 15.81 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.3048, allocations: 99.69 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3049, allocations: 119.6 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3051, allocations: 29.3 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.3051, allocations: 39.86 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.3052, allocations: 51.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.3052, allocations: 12 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.3055, allocations: 119.9 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.3056, allocations: 27.91 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.3056, allocations: 43.8 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.3059, allocations: 167.3 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3059, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3059, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3059, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 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.0006918/0.3066, allocations: 373.6 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3067, allocations: 8.031 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.263e-05/0.3067, allocations: 4.188 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.573e-05/0.3067, allocations: 42.73 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.3068, allocations: 12.83 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3069, allocations: 126.3 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3069, allocations: 16.36 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3069, allocations: 12.38 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.3073, allocations: 125.4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3073, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3073, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.3073, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.3077, allocations: 115.8 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.3083, allocations: 347.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.3087, allocations: 106.5 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.3089, allocations: 60.86 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.3091, allocations: 43.97 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3092, allocations: 46.48 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.3092, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006488/0.3098, allocations: 181.5 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3099, allocations: 55.41 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.31, allocations: 168.2 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.31, allocations: 29.7 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.3101, allocations: 104.1 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.3102, allocations: 27.75 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.3102, allocations: 21.7 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3104, allocations: 322.8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.3105, allocations: 47.91 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3107, allocations: 47.95 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.311, allocations: 101.3 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.311, allocations: 0 / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004004/0.3114, allocations: 145.4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3114, allocations: 8 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3114, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3115, allocations: 4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3116, allocations: 27.97 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3116, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3117, allocations: 15.94 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3117, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 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.0001039/0.3118, allocations: 120.5 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.3119, allocations: 15.88 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.3124, allocations: 166.9 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3124, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3124, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3124, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.3126, allocations: 168.7 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3126, allocations: 7.922 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.3127, allocations: 27.92 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3127, allocations: 4 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3128, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3128, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3128, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.3132, allocations: 243.5 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.3133, allocations: 31.83 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.3133, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3134, allocations: 11.98 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.3134, allocations: 7.969 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3135, allocations: 8 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.943e-05/0.3136, allocations: 120 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3136, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002825/0.3138, allocations: 35.92 kB / 1.333 GB, free: 10.36 MB / 1.029 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.0008363/0.3147, allocations: 0.7825 MB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.3151, allocations: 107.8 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3151, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3153, allocations: 55.95 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.3157, allocations: 50.61 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.3182, allocations: 1.762 MB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.503e-05/0.3183, allocations: 87.97 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.722e-05/0.3183, allocations: 16.48 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.3184, allocations: 27.44 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3184, allocations: 0 / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.3432, allocations: 3.564 MB / 1.34 GB, free: 3.969 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.73, allocations: 18.31 kB / 1.34 GB, free: 3.961 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.181447601062246] Failed to read output from testmodel.py, exit status != 0: 12.890343812061474 12.922620855 12.611022226 Calling exit ...