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.001317/0.001317, allocations: 116.7 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.001402/0.001402, 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.986/2.986, allocations: 0.49 GB / 0.7923 GB, free: 1.418 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.002088/0.002088, allocations: 67.89 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9956/0.9976, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003497/1.001, allocations: 2.196 MB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003157/1.004, allocations: 2.823 MB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/1.004, allocations: 6.594 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/1.006, allocations: 0.5404 MB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/1.006, allocations: 158.1 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/1.007, allocations: 208 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005509/1.007, allocations: 385.2 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/1.008, allocations: 41.84 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/1.008, allocations: 137.9 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/1.008, allocations: 157.4 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/1.008, allocations: 9.25 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/1.008, allocations: 73.52 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/1.008, allocations: 130.2 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/1.009, allocations: 229.9 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008899/1.01, allocations: 0.7298 MB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.01, allocations: 8 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.775e-06/1.01, allocations: 0.9062 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.237e-05/1.01, allocations: 0 / 1.329 GB, free: 20.02 MB / 1.061 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.001408/1.011, allocations: 0.9361 MB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.011, allocations: 13.73 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.398e-05/1.011, allocations: 4.938 kB / 1.33 GB, free: 19.24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/1.011, allocations: 42.53 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/1.011, allocations: 72.78 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/1.012, allocations: 471.2 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/1.012, allocations: 6.594 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/1.012, allocations: 3.797 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/1.012, allocations: 99.3 kB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.012, allocations: 1.094 kB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/1.012, allocations: 0.9375 kB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/1.012, allocations: 1.484 kB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/1.012, allocations: 45.52 kB / 1.331 GB, free: 18.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/1.013, allocations: 0.5341 MB / 1.331 GB, free: 18.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/1.013, allocations: 95.75 kB / 1.331 GB, free: 18.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.984e-05/1.014, allocations: 32.25 kB / 1.331 GB, free: 18.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.014, allocations: 1.156 kB / 1.331 GB, free: 18.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/1.014, allocations: 90.36 kB / 1.331 GB, free: 18.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.014, allocations: 0 / 1.331 GB, free: 18.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004608/1.014, allocations: 196 kB / 1.332 GB, free: 18.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/1.014, allocations: 105.4 kB / 1.332 GB, free: 17.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/1.016, allocations: 0.9299 MB / 1.333 GB, free: 17.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/1.016, allocations: 27.86 kB / 1.333 GB, free: 17.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/1.016, allocations: 328.8 kB / 1.333 GB, free: 17.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/1.016, allocations: 20.81 kB / 1.333 GB, free: 17.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/1.016, allocations: 24.47 kB / 1.333 GB, free: 17.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.573e-05/1.016, allocations: 312.3 kB / 1.333 GB, free: 17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/1.016, allocations: 30.34 kB / 1.333 GB, free: 16.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/1.016, allocations: 73.12 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/1.016, allocations: 71.78 kB / 1.334 GB, free: 16.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.016, allocations: 0 / 1.334 GB, free: 16.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002905/1.017, allocations: 175.7 kB / 1.334 GB, free: 16.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.017, allocations: 7.75 kB / 1.334 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.017, allocations: 0.7969 kB / 1.334 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.017, allocations: 5 kB / 1.334 GB, free: 16.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/1.017, allocations: 14.56 kB / 1.334 GB, free: 16.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.017, allocations: 9.125 kB / 1.334 GB, free: 16.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/1.017, allocations: 25.33 kB / 1.334 GB, free: 16.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/1.017, allocations: 2.344 kB / 1.334 GB, free: 16.77 MB / 1.061 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.0003228/1.017, allocations: 321.6 kB / 1.334 GB, free: 16.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/1.017, allocations: 71.75 kB / 1.334 GB, free: 16.55 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/1.017, allocations: 77.64 kB / 1.334 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.017, allocations: 1.797 kB / 1.334 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.017, allocations: 8.719 kB / 1.334 GB, free: 16.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.017, allocations: 0.75 kB / 1.334 GB, free: 16.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/1.018, allocations: 404.7 kB / 1.335 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.018, allocations: 0.5 kB / 1.335 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/1.018, allocations: 8.406 kB / 1.335 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/1.018, allocations: 0 / 1.335 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.018, allocations: 2.281 kB / 1.335 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.018, allocations: 0.5156 kB / 1.335 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.018, allocations: 4.938 kB / 1.335 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/1.018, allocations: 196.2 kB / 1.335 GB, free: 16.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.018, allocations: 146.1 kB / 1.335 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/1.019, allocations: 2.375 kB / 1.335 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/1.019, allocations: 9.953 kB / 1.335 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/1.019, allocations: 14.67 kB / 1.335 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/1.019, allocations: 4.75 kB / 1.335 GB, free: 15.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001125/1.02, allocations: 0.6842 MB / 1.336 GB, free: 15.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.02, allocations: 0 / 1.336 GB, free: 15.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004151/1.02, allocations: 62.22 kB / 1.336 GB, free: 15.69 MB / 1.061 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.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * 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.002034/1.022, allocations: 1.071 MB / 1.337 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002611/1.023, allocations: 65.2 kB / 1.337 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.023, allocations: 0.9062 kB / 1.337 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/1.023, allocations: 41.91 kB / 1.337 GB, free: 14.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/1.023, allocations: 170.7 kB / 1.337 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/1.03, allocations: 4.862 MB / 1.342 GB, free: 12.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/1.03, allocations: 0.9936 MB / 1.343 GB, free: 11.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002509/1.03, allocations: 50.36 kB / 1.343 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/1.031, allocations: 191.8 kB / 1.343 GB, free: 11.54 MB / 1.061 GB Notification: Performance of SimCode: time 1.292e-06/1.031, allocations: 0 / 1.343 GB, free: 11.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04375/1.074, allocations: 13.43 MB / 1.356 GB, free: 10.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/11.1, allocations: 9.922 kB / 1.356 GB, free: 10.05 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.577432923018932] Failed to read output from testmodel.py, exit status != 0: 11.294128379027825 11.306114676 10.293840885 Calling exit ...