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.001793/0.001793, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002222/0.002222, allocations: 215 kB / 20.13 MB, free: 2.949 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.514/1.514, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.819/2.819, allocations: 476.7 MB / 0.7678 GB, free: 9.5 MB / 0.6075 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.002124/0.002124, allocations: 71.88 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8329/0.835, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003168/0.8382, allocations: 1.748 MB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.8396, allocations: 0.7932 MB / 1.281 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.8397, allocations: 2.188 kB / 1.281 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.152e-05/0.8397, allocations: 14.48 kB / 1.281 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.8398, allocations: 24.03 kB / 1.281 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.8402, allocations: 97.97 kB / 1.282 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.8404, allocations: 114.5 kB / 1.282 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.8406, allocations: 26.72 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.8407, allocations: 51.66 kB / 1.282 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.724e-05/0.8408, allocations: 49.02 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.8408, allocations: 9.031 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.8412, allocations: 122.5 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.8413, allocations: 23.64 kB / 1.282 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.8413, allocations: 54.22 kB / 1.282 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.8417, allocations: 170.6 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8417, allocations: 1.156 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8417, allocations: 0 / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8417, allocations: 0 / 1.282 GB, free: 9.605 MB / 0.9981 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.0007399/0.8424, allocations: 445.2 kB / 1.283 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.8424, allocations: 14.11 kB / 1.283 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.982e-05/0.8425, allocations: 3.25 kB / 1.283 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.8425, allocations: 39.98 kB / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.8425, allocations: 11.3 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.8427, allocations: 187.6 kB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.8427, allocations: 13.12 kB / 1.283 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.8427, allocations: 9.625 kB / 1.283 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.8431, allocations: 123.4 kB / 1.283 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.8431, allocations: 5.5 kB / 1.283 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.8431, allocations: 0 / 1.283 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.8431, allocations: 6.578 kB / 1.283 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.8436, allocations: 111.3 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.8442, allocations: 403.6 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.8445, allocations: 98.78 kB / 1.284 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.8447, allocations: 62.45 kB / 1.284 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/0.8453, allocations: 0.5637 MB / 1.284 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.8453, allocations: 35.94 kB / 1.284 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.8453, allocations: 0 / 1.284 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0007179/0.846, allocations: 183 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.8461, allocations: 58.23 kB / 1.284 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.8462, allocations: 163.7 kB / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.8463, allocations: 26.92 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.8463, allocations: 106.8 kB / 1.285 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.8464, allocations: 30.83 kB / 1.285 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.8464, allocations: 23.94 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8466, allocations: 321.6 kB / 1.285 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.8468, allocations: 47.09 kB / 1.285 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.847, allocations: 43.47 kB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.8473, allocations: 98.91 kB / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8473, allocations: 0 / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000447/0.8478, allocations: 151.1 kB / 1.285 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.8478, allocations: 8 kB / 1.285 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.8478, allocations: 96 / 1.285 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.8478, allocations: 5.281 kB / 1.285 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.848, allocations: 23.67 kB / 1.285 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.848, allocations: 5.609 kB / 1.285 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.8481, allocations: 25.59 kB / 1.285 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.8481, allocations: 1.406 kB / 1.285 GB, free: 6.812 MB / 0.9981 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.0001031/0.8482, allocations: 115.1 kB / 1.286 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.8483, allocations: 21.84 kB / 1.286 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.8488, allocations: 160.2 kB / 1.286 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8488, allocations: 0.8438 kB / 1.286 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8488, allocations: 0.6875 kB / 1.286 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.8488, allocations: 4.609 kB / 1.286 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.8491, allocations: 209 kB / 1.286 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.8491, allocations: 1.312 kB / 1.286 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.8492, allocations: 27.28 kB / 1.286 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8492, allocations: 1.281 kB / 1.286 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.8493, allocations: 0.7969 kB / 1.286 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8493, allocations: 4.938 kB / 1.286 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8493, allocations: 0 / 1.286 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.8498, allocations: 240.5 kB / 1.286 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.8498, allocations: 105 kB / 1.286 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.8499, allocations: 2.25 kB / 1.286 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.85, allocations: 19.22 kB / 1.286 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.8501, allocations: 6 kB / 1.286 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.8501, allocations: 2.656 kB / 1.286 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001147/0.8502, allocations: 124.1 kB / 1.286 GB, free: 6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8502, allocations: 3.938 kB / 1.286 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002856/0.8505, allocations: 24.45 kB / 1.287 GB, free: 5.996 MB / 0.9981 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.0009143/0.8514, allocations: 0.7964 MB / 1.287 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.8518, allocations: 99.98 kB / 1.287 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8518, allocations: 4 kB / 1.287 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.852, allocations: 55.23 kB / 1.287 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.8525, allocations: 27.27 kB / 1.287 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.8551, allocations: 1.781 MB / 1.289 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.8554, allocations: 0.7115 MB / 1.29 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.675e-05/0.8555, allocations: 13.39 kB / 1.29 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.8556, allocations: 32.72 kB / 1.29 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/0.8556, allocations: 4 kB / 1.29 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.8769, allocations: 3.302 MB / 1.293 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/9.483, allocations: 12.53 kB / 1.293 GB, free: 2.648 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.626095240993891] Failed to read output from testmodel.py, exit status != 0: 9.614941913983785 9.643872089 8.797099629 Calling exit ...