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.001762/0.001762, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002156/0.002156, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.545/1.545, 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 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 2.924/2.924, allocations: 0.49 GB / 0.7923 GB, free: 1.488 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.002076/0.002076, allocations: 63.89 kB / 1.15 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8323, allocations: 176.1 MB / 1.322 GB, free: 7.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003018/0.8353, allocations: 1.756 MB / 1.323 GB, free: 6.066 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.8367, allocations: 0.7912 MB / 1.324 GB, free: 5.445 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.8368, allocations: 5.125 kB / 1.324 GB, free: 5.441 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.8368, allocations: 7.875 kB / 1.324 GB, free: 5.434 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.8369, allocations: 30.97 kB / 1.324 GB, free: 5.406 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.8373, allocations: 101.9 kB / 1.324 GB, free: 5.336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.8375, allocations: 112.2 kB / 1.324 GB, free: 5.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.8376, allocations: 30.8 kB / 1.324 GB, free: 5.246 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.884e-05/0.8377, allocations: 44.94 kB / 1.324 GB, free: 5.219 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.8378, allocations: 52.78 kB / 1.324 GB, free: 5.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.8378, allocations: 9.594 kB / 1.324 GB, free: 5.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.8381, allocations: 119.1 kB / 1.324 GB, free: 5.125 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.8381, allocations: 23.48 kB / 1.325 GB, free: 5.105 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.8382, allocations: 48.77 kB / 1.325 GB, free: 5.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.8385, allocations: 171.7 kB / 1.325 GB, free: 4.953 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8385, allocations: 1.281 kB / 1.325 GB, free: 4.953 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8385, allocations: 0 / 1.325 GB, free: 4.953 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.8385, allocations: 0 / 1.325 GB, free: 4.953 MB / 1.014 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.000694/0.8392, allocations: 454.5 kB / 1.325 GB, free: 4.512 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.8392, allocations: 13.2 kB / 1.325 GB, free: 4.508 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.287e-05/0.8392, allocations: 2.594 kB / 1.325 GB, free: 4.508 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.8393, allocations: 42.25 kB / 1.325 GB, free: 4.461 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.8393, allocations: 11.73 kB / 1.325 GB, free: 4.457 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.8394, allocations: 188.7 kB / 1.325 GB, free: 4.238 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.8395, allocations: 9 kB / 1.325 GB, free: 4.234 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.8395, allocations: 10.59 kB / 1.325 GB, free: 4.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.8398, allocations: 121.6 kB / 1.326 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.8398, allocations: 0 / 1.326 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.8399, allocations: 5.219 kB / 1.326 GB, free: 4.145 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.8399, allocations: 2.188 kB / 1.326 GB, free: 4.145 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.8403, allocations: 114 kB / 1.326 GB, free: 4.094 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.8408, allocations: 396.1 kB / 1.326 GB, free: 3.715 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.8412, allocations: 101.2 kB / 1.326 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.8414, allocations: 62.47 kB / 1.326 GB, free: 3.617 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/0.8419, allocations: 0.5569 MB / 1.327 GB, free: 2.949 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.8419, allocations: 35.66 kB / 1.327 GB, free: 2.906 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.8419, allocations: 1.031 kB / 1.327 GB, free: 2.906 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0006862/0.8426, allocations: 196.9 kB / 1.327 GB, free: 2.793 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.8427, allocations: 57.09 kB / 1.327 GB, free: 2.727 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.8428, allocations: 158.4 kB / 1.327 GB, free: 2.598 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.8428, allocations: 29.7 kB / 1.327 GB, free: 2.562 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.8429, allocations: 100.4 kB / 1.327 GB, free: 2.465 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.8429, allocations: 32 kB / 1.327 GB, free: 2.438 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.843, allocations: 23.95 kB / 1.327 GB, free: 2.414 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8431, allocations: 317.7 kB / 1.328 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.8433, allocations: 48.23 kB / 1.328 GB, free: 2.074 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.8435, allocations: 48.14 kB / 1.328 GB, free: 2.051 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.8438, allocations: 100.1 kB / 1.328 GB, free: 2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8438, allocations: 0 / 1.328 GB, free: 2 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000438/0.8443, allocations: 144.4 kB / 1.328 GB, free: 1.914 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.8443, allocations: 5.156 kB / 1.328 GB, free: 1.914 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8443, allocations: 7.938 kB / 1.328 GB, free: 1.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.8443, allocations: 1.438 kB / 1.328 GB, free: 1.906 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.8445, allocations: 30.62 kB / 1.328 GB, free: 1.895 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8445, allocations: 0 / 1.328 GB, free: 1.895 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.8446, allocations: 20.5 kB / 1.328 GB, free: 1.883 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.8446, allocations: 6.906 kB / 1.328 GB, free: 1.879 MB / 1.014 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 9.519e-05/0.8447, allocations: 116.8 kB / 1.328 GB, free: 1.758 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.8448, allocations: 13.7 kB / 1.328 GB, free: 1.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.8453, allocations: 167.6 kB / 1.328 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8453, allocations: 1.25 kB / 1.328 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8453, allocations: 1.406 kB / 1.328 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8453, allocations: 0 / 1.328 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.8455, allocations: 211.3 kB / 1.329 GB, free: 1.398 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8455, allocations: 4 kB / 1.329 GB, free: 1.395 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.8457, allocations: 29.69 kB / 1.329 GB, free: 1.383 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.8457, allocations: 5.516 kB / 1.329 GB, free: 1.379 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.8457, allocations: 0 / 1.329 GB, free: 1.379 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8457, allocations: 0.9688 kB / 1.329 GB, free: 1.379 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8457, allocations: 0 / 1.329 GB, free: 1.379 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.8462, allocations: 240.9 kB / 1.329 GB, free: 1.191 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.8463, allocations: 104.5 kB / 1.329 GB, free: 1.074 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.8463, allocations: 1.25 kB / 1.329 GB, free: 1.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.8464, allocations: 14.86 kB / 1.329 GB, free: 1.066 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.8465, allocations: 7.859 kB / 1.329 GB, free: 1.062 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.8465, allocations: 1.312 kB / 1.329 GB, free: 1.062 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001027/0.8466, allocations: 130.6 kB / 1.329 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.8466, allocations: 4 kB / 1.329 GB, free: 0.957 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002711/0.8468, allocations: 23.06 kB / 1.329 GB, free: 0.957 MB / 1.014 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.0008717/0.8477, allocations: 0.7925 MB / 1.33 GB, free: 236 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.8482, allocations: 106.7 kB / 1.33 GB, free: 188 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8482, allocations: 0 / 1.33 GB, free: 188 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.8483, allocations: 54.81 kB / 1.33 GB, free: 164 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.8488, allocations: 29.25 kB / 1.33 GB, free: 148 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.8513, allocations: 1.787 MB / 1.332 GB, free: 14.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.8516, allocations: 0.7001 MB / 1.332 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.959e-05/0.8517, allocations: 15.2 kB / 1.332 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.8518, allocations: 37.08 kB / 1.332 GB, free: 13.9 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.8518, allocations: 0 / 1.332 GB, free: 13.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.8716, allocations: 3.309 MB / 1.336 GB, free: 12.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.623/9.495, allocations: 3.5 kB / 1.336 GB, free: 12.25 MB / 1.029 GB " [Timeout remaining time 290] (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: 15.820605385990348] Failed to read output from testmodel.py, exit status != 0: 9.627605486020911 9.65474193 8.811363454 Calling exit ...