Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 289.7 MB / 302.3 MB, free: 2.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001474, allocations: 181.8 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009448/0.0009447, allocations: 90.52 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.037e-05/5.051e-05, allocations: 4 kB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2764, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7978/1.074, allocations: 146.9 MB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.075, allocations: 97.47 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02777/1.102, allocations: 12.68 MB / 1.136 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.552e-06/1.102, allocations: 0 / 1.136 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.127e-05/1.102, allocations: 8 kB / 1.136 GB, free: 31.36 MB / 0.7448 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.0007221/1.103, allocations: 0.7139 MB / 1.136 GB, free: 30.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.103, allocations: 13.16 kB / 1.137 GB, free: 30.66 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/1.103, allocations: 36.41 kB / 1.137 GB, free: 30.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/1.103, allocations: 75.31 kB / 1.137 GB, free: 30.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/1.104, allocations: 460.9 kB / 1.137 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/1.104, allocations: 11.19 kB / 1.137 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/1.104, allocations: 4 kB / 1.137 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/1.104, allocations: 99.45 kB / 1.137 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.104, allocations: 0 / 1.137 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/1.104, allocations: 7.875 kB / 1.137 GB, free: 30.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.104, allocations: 0 / 1.137 GB, free: 30.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/1.104, allocations: 41.97 kB / 1.137 GB, free: 30 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/1.105, allocations: 0.5303 MB / 1.138 GB, free: 29.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/1.105, allocations: 98.52 kB / 1.138 GB, free: 29.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/1.105, allocations: 38.19 kB / 1.138 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/1.105, allocations: 4.562 kB / 1.138 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/1.106, allocations: 81.28 kB / 1.138 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/1.106, allocations: 3.938 kB / 1.138 GB, free: 29.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002719/1.106, allocations: 167.2 kB / 1.138 GB, free: 29.28 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.106, allocations: 110.7 kB / 1.138 GB, free: 29.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/1.107, allocations: 0.7823 MB / 1.139 GB, free: 28.62 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/1.107, allocations: 33.17 kB / 1.139 GB, free: 28.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/1.107, allocations: 299.5 kB / 1.139 GB, free: 28.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/1.107, allocations: 19.56 kB / 1.139 GB, free: 28.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/1.107, allocations: 3.875 kB / 1.139 GB, free: 28.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.785e-05/1.107, allocations: 306 kB / 1.14 GB, free: 28.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/1.107, allocations: 27.22 kB / 1.14 GB, free: 28.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/1.107, allocations: 82.86 kB / 1.14 GB, free: 28.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/1.107, allocations: 31.89 kB / 1.14 GB, free: 28.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.107, allocations: 0 / 1.14 GB, free: 28.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001863/1.108, allocations: 163 kB / 1.14 GB, free: 27.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.108, allocations: 8 kB / 1.14 GB, free: 27.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.108, allocations: 0 / 1.14 GB, free: 27.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.108, allocations: 0 / 1.14 GB, free: 27.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/1.108, allocations: 15.28 kB / 1.14 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.108, allocations: 3.938 kB / 1.14 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/1.108, allocations: 24.77 kB / 1.14 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/1.108, allocations: 0 / 1.14 GB, free: 27.86 MB / 0.7448 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 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/1.108, allocations: 114.2 kB / 1.14 GB, free: 27.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/1.108, allocations: 63.25 kB / 1.14 GB, free: 27.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/1.108, allocations: 179.2 kB / 1.14 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.108, allocations: 3.469 kB / 1.14 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.108, allocations: 0 / 1.14 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.108, allocations: 4 kB / 1.14 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/1.109, allocations: 401.2 kB / 1.141 GB, free: 27.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.109, allocations: 7.875 kB / 1.141 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/1.109, allocations: 12.27 kB / 1.141 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.109, allocations: 0 / 1.141 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/1.109, allocations: 4 kB / 1.141 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.109, allocations: 0 / 1.141 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.109, allocations: 1.375 kB / 1.141 GB, free: 27.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/1.109, allocations: 195.3 kB / 1.141 GB, free: 27.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/1.109, allocations: 150.6 kB / 1.141 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/1.109, allocations: 7.875 kB / 1.141 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/1.109, allocations: 4 kB / 1.141 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/1.109, allocations: 12.25 kB / 1.141 GB, free: 26.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/1.109, allocations: 7.359 kB / 1.141 GB, free: 26.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006958/1.11, allocations: 0.6426 MB / 1.142 GB, free: 26.47 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 3.938 kB / 1.142 GB, free: 26.47 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003623/1.11, allocations: 85.56 kB / 1.142 GB, free: 26.39 MB / 0.7448 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,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/1.112, allocations: 1.171 MB / 1.143 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002085/1.112, allocations: 85.25 kB / 1.143 GB, free: 25.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.112, allocations: 4 kB / 1.143 GB, free: 25.33 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/1.112, allocations: 41.19 kB / 1.143 GB, free: 25.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/1.113, allocations: 140.2 kB / 1.143 GB, free: 25.22 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/1.115, allocations: 1.052 MB / 1.144 GB, free: 24.44 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/1.115, allocations: 0.995 MB / 1.145 GB, free: 23.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001528/1.115, allocations: 46.17 kB / 1.145 GB, free: 23.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/1.116, allocations: 179.6 kB / 1.145 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/1.116, allocations: 0 / 1.145 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/1.149, allocations: 13.72 MB / 1.159 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/1.149, allocations: 221.3 kB / 1.159 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.645, allocations: 0 / 1.159 GB, free: 15.2 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)