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.001359/0.001359, 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.001647/0.001647, allocations: 215.1 kB / 23.04 MB, free: 5.07 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.008 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.212/3.212, allocations: 0.49 GB / 0.7959 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] 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.002105/0.002105, allocations: 70.09 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3662, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003066/0.3693, allocations: 1.767 MB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3707, allocations: 0.7946 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.3708, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.698e-05/0.3708, allocations: 15.8 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.339e-05/0.3709, allocations: 23.8 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.3713, allocations: 107.6 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.3715, allocations: 111.6 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3716, allocations: 25.28 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.3717, allocations: 39.86 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.3718, allocations: 55.77 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.3718, allocations: 8 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.3721, allocations: 123.9 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.3721, allocations: 23.92 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.3722, allocations: 51.67 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.3724, allocations: 167.3 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3724, allocations: 0 / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3724, allocations: 0 / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.3725, allocations: 0 / 1.33 GB, free: 14.61 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.0006861/0.3731, allocations: 377.5 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3732, allocations: 12.03 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.321e-05/0.3732, allocations: 192 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.3732, allocations: 46.73 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.3733, allocations: 12.89 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3734, allocations: 126.3 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3734, allocations: 8.375 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.3734, allocations: 8.375 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.3738, allocations: 129.4 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3738, allocations: 0 / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3738, allocations: 4 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.3738, allocations: 4 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.3742, allocations: 107.8 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.3748, allocations: 371.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.3751, allocations: 94.59 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.3754, allocations: 64.81 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.3756, allocations: 47.95 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3756, allocations: 46.44 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3756, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006831/0.3763, allocations: 189.4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3764, allocations: 51.41 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3765, allocations: 164 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3766, allocations: 29.7 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.3766, allocations: 108.1 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3767, allocations: 31.73 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.3767, allocations: 17.72 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3769, allocations: 326.8 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.3771, allocations: 43.95 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3772, allocations: 39.97 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.3776, allocations: 108.7 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3776, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004195/0.378, allocations: 145.5 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.378, allocations: 7.938 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.378, allocations: 0.6562 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.378, allocations: 0 / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3782, allocations: 27.92 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3782, allocations: 4 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3783, allocations: 23.92 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.3783, allocations: 0 / 1.333 GB, free: 11.69 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.0001104/0.3784, allocations: 118.4 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.3785, allocations: 19.81 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/0.379, allocations: 162.9 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.379, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.379, allocations: 4 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.379, allocations: 0 / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.3792, allocations: 176.6 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3792, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.3794, allocations: 31.92 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3794, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3794, allocations: 7.938 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3794, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3794, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.3798, allocations: 243.4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.3799, allocations: 23.83 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.3799, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.3801, allocations: 15.98 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.3801, allocations: 7.984 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3801, allocations: 0 / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001049/0.3802, allocations: 127.9 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3802, allocations: 0 / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002922/0.3805, allocations: 27.94 kB / 1.333 GB, free: 10.66 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.0008629/0.3814, allocations: 0.7924 MB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.3818, allocations: 107.8 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3818, allocations: 0 / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.382, allocations: 51.89 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3824, allocations: 47.83 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.385, allocations: 1.764 MB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3853, allocations: 0.7078 MB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.903e-05/0.3854, allocations: 8.484 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.3855, allocations: 39.8 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3855, allocations: 0 / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.4095, allocations: 3.407 MB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.39, allocations: 4 kB / 1.34 GB, free: 3.777 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.054486923967488] Failed to read output from testmodel.py, exit status != 0: 12.555482921015937 12.585077048 12.207239248 Calling exit ...