Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.002013/0.002013, 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.00261/0.00261, allocations: 214.5 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.331/3.331, allocations: 0.49 GB / 0.7959 GB, free: 33.41 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.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",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.002049/0.002049, allocations: 62.88 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3244, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003813/0.3282, allocations: 2.205 MB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004233/0.3325, allocations: 2.834 MB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.3327, allocations: 7.938 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.3342, allocations: 0.5444 MB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.3346, allocations: 155.2 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.3352, allocations: 215.4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.3357, allocations: 395.8 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3358, allocations: 29.27 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.336, allocations: 135.3 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.3363, allocations: 167.1 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.3363, allocations: 8 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.3365, allocations: 75.94 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3367, allocations: 127.5 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.3369, allocations: 242.3 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008715/0.3378, allocations: 0.7234 MB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3378, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3378, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.3378, allocations: 0 / 1.334 GB, free: 10.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001326/0.3392, allocations: 0.8663 MB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.3392, allocations: 8.031 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.851e-05/0.3392, allocations: 4.188 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.3392, allocations: 38.75 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.3394, allocations: 76.42 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.3399, allocations: 402.9 kB / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.34, allocations: 12.11 kB / 1.336 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.34, allocations: 8 kB / 1.336 GB, free: 8.598 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.3402, allocations: 96.17 kB / 1.336 GB, free: 8.488 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3402, allocations: 0 / 1.336 GB, free: 8.488 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.3402, allocations: 8 kB / 1.336 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3402, allocations: 0 / 1.336 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.3404, allocations: 39.97 kB / 1.336 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.3412, allocations: 0.4957 MB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.3416, allocations: 98.66 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.3417, allocations: 32.83 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3417, allocations: 4 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.3419, allocations: 87.41 kB / 1.337 GB, free: 7.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3419, allocations: 4 kB / 1.337 GB, free: 7.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004658/0.3424, allocations: 197.2 kB / 1.337 GB, free: 7.457 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.3424, allocations: 106.8 kB / 1.337 GB, free: 7.328 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.3436, allocations: 0.9267 MB / 1.338 GB, free: 6.395 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.3436, allocations: 33.69 kB / 1.338 GB, free: 6.355 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.344, allocations: 328 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.344, allocations: 19.84 kB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.3441, allocations: 25.7 kB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3442, allocations: 310 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.3443, allocations: 31.92 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3444, allocations: 76.27 kB / 1.339 GB, free: 5.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3446, allocations: 69.69 kB / 1.339 GB, free: 5.477 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3446, allocations: 0 / 1.339 GB, free: 5.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003054/0.3449, allocations: 177.1 kB / 1.339 GB, free: 5.297 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3449, allocations: 4 kB / 1.339 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3449, allocations: 0 / 1.339 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3449, allocations: 0 / 1.339 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.345, allocations: 15.98 kB / 1.339 GB, free: 5.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.345, allocations: 7.938 kB / 1.339 GB, free: 5.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3451, allocations: 7.891 kB / 1.339 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3451, allocations: 7.938 kB / 1.339 GB, free: 5.254 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * 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.0003365/0.3455, allocations: 322.2 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.3455, allocations: 75.56 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.3459, allocations: 184.4 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3459, allocations: 0 / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3459, allocations: 3.938 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3459, allocations: 0 / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.3464, allocations: 372.5 kB / 1.34 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3464, allocations: 3.984 kB / 1.34 GB, free: 4.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.3464, allocations: 11.94 kB / 1.34 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3464, allocations: 0 / 1.34 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.3464, allocations: 4.047 kB / 1.34 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3464, allocations: 4 kB / 1.34 GB, free: 4.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3464, allocations: 7.922 kB / 1.34 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.3468, allocations: 204.7 kB / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3469, allocations: 67.52 kB / 1.34 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.3469, allocations: 0 / 1.34 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3471, allocations: 4 kB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.3471, allocations: 15.92 kB / 1.34 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.3471, allocations: 11.98 kB / 1.34 GB, free: 3.906 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008647/0.348, allocations: 0.6786 MB / 1.341 GB, free: 3.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.348, allocations: 0 / 1.341 GB, free: 3.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003011/0.3483, allocations: 64.11 kB / 1.341 GB, free: 3.168 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: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002149/0.3505, allocations: 1.065 MB / 1.342 GB, free: 2.238 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.3507, allocations: 67.91 kB / 1.342 GB, free: 2.172 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3507, allocations: 0 / 1.342 GB, free: 2.172 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3508, allocations: 31.98 kB / 1.342 GB, free: 2.141 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.3515, allocations: 179.2 kB / 1.342 GB, free: 1.973 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/0.3579, allocations: 4.857 MB / 1.347 GB, free: 13.01 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/0.3586, allocations: 0.994 MB / 1.348 GB, free: 11.99 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.3588, allocations: 51.25 kB / 1.348 GB, free: 11.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.359, allocations: 191.4 kB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of SimCode: time 8.62e-07/0.359, allocations: 0 / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0412/0.4002, allocations: 13.58 MB / 1.361 GB, free: 14.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.24, allocations: 0 / 1.361 GB, free: 14.4 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.30480758199701] Failed to read output from testmodel.py, exit status != 0: 13.461952732002828 13.479138507 13.137701329 Calling exit ...