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.001284/0.001284, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001427/0.001427, allocations: 219.6 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.694/2.694, allocations: 476.7 MB / 0.7715 GB, free: 4.207 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.002006/0.002006, allocations: 63.95 kB / 1.118 GB, free: 40.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 170 MB / 1.284 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003302/0.3281, allocations: 1.753 MB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3296, allocations: 0.7964 MB / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.3297, allocations: 3.938 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.3e-05/0.3297, allocations: 7.875 kB / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.3298, allocations: 23.78 kB / 1.287 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.3302, allocations: 107.6 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.3303, allocations: 111.6 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3304, allocations: 29.28 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.227e-05/0.3305, allocations: 39.86 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.099e-05/0.3306, allocations: 55.77 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3306, allocations: 8 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.3309, allocations: 123.9 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.331, allocations: 23.92 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.331, allocations: 47.73 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.3313, allocations: 172.1 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3313, allocations: 4 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3313, allocations: 0 / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3313, allocations: 0 / 1.287 GB, free: 8.516 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.0006746/0.332, allocations: 377.5 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.332, allocations: 8.031 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.625e-05/0.332, allocations: 4.188 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.3321, allocations: 42.75 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.3321, allocations: 8.891 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3322, allocations: 134.3 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3322, allocations: 4.375 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.3323, allocations: 12.38 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.3326, allocations: 121.4 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3326, allocations: 0 / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3327, allocations: 4 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3327, allocations: 8 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.333, allocations: 107.8 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.3336, allocations: 367.5 kB / 1.289 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.334, allocations: 106.5 kB / 1.289 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.3342, allocations: 64.81 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.3344, allocations: 31.97 kB / 1.289 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3344, allocations: 42.5 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.3344, allocations: 0 / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006447/0.3351, allocations: 185.5 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3351, allocations: 55.34 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3353, allocations: 167.3 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3353, allocations: 29.7 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.3353, allocations: 108 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.3354, allocations: 35.72 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.3354, allocations: 21.72 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3356, allocations: 322.8 kB / 1.29 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.3358, allocations: 43.95 kB / 1.29 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.3359, allocations: 47.95 kB / 1.29 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.3363, allocations: 96.73 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3363, allocations: 0.5625 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004275/0.3367, allocations: 157.4 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3367, allocations: 6.188 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3367, allocations: 0 / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3367, allocations: 3.938 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3369, allocations: 31.91 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3369, allocations: 0 / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.337, allocations: 11.98 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.337, allocations: 0 / 1.29 GB, free: 5.609 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 0.0001041/0.3371, allocations: 121.8 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.3371, allocations: 19.84 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.3376, allocations: 150.9 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3376, allocations: 0 / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3376, allocations: 4 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3376, allocations: 4 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3378, allocations: 180.6 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3378, allocations: 0 / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.338, allocations: 27.92 kB / 1.291 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.338, allocations: 0 / 1.291 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.338, allocations: 4 kB / 1.291 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.338, allocations: 0 / 1.291 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.338, allocations: 7.922 kB / 1.291 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.3384, allocations: 239.4 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.3385, allocations: 27.83 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.3385, allocations: 0 / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.3387, allocations: 19.91 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.3387, allocations: 7.984 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3387, allocations: 12 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001029/0.3388, allocations: 120.2 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3388, allocations: 0 / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002759/0.3391, allocations: 31.94 kB / 1.291 GB, free: 4.57 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.0008745/0.34, allocations: 0.7903 MB / 1.292 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.3404, allocations: 99.86 kB / 1.292 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3404, allocations: 4 kB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3406, allocations: 51.95 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.341, allocations: 38.2 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.3436, allocations: 1.785 MB / 1.294 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3439, allocations: 0.7002 MB / 1.294 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.932e-05/0.344, allocations: 8.484 kB / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.344, allocations: 35.42 kB / 1.294 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.344, allocations: 0 / 1.294 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.3681, allocations: 3.416 MB / 1.298 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.33, allocations: 5.641 kB / 1.298 GB, free: 13.69 MB / 0.9981 GB " [Timeout remaining time 287] (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.669304185023066] Failed to read output from testmodel.py, exit status != 0: 12.96183862304315 12.544702094 12.20832844 Calling exit ...