Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.812/1.812, allocations: 297.8 MB / 313.7 MB, free: 108 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 186.3 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 108.8 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004336, allocations: 14 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6605, allocations: 120.3 MB / 1.026 GB, free: 55.74 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.8528, allocations: 149.7 MB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.8532, allocations: 102.8 kB / 1.173 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03312/0.8863, allocations: 13 MB / 1.185 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.917e-06/0.8864, allocations: 0 / 1.185 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.242e-05/0.8864, allocations: 15.92 kB / 1.185 GB, free: 15.19 MB / 0.7605 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.001548/0.888, allocations: 0.8527 MB / 1.186 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.888, allocations: 8.031 kB / 1.186 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.8882, allocations: 70.34 kB / 1.186 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008974/0.8892, allocations: 0.4933 MB / 1.187 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.8892, allocations: 384 / 1.187 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.8892, allocations: 12.38 kB / 1.187 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.8895, allocations: 100.7 kB / 1.187 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8895, allocations: 192 / 1.187 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.8895, allocations: 3.938 kB / 1.187 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.8895, allocations: 1.031 kB / 1.187 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.8896, allocations: 43.97 kB / 1.187 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.8908, allocations: 0.5434 MB / 1.187 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.8912, allocations: 106.6 kB / 1.187 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.8913, allocations: 32.84 kB / 1.187 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.8914, allocations: 0 / 1.187 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.8916, allocations: 87.38 kB / 1.188 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.8916, allocations: 0 / 1.188 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.0005337/0.8921, allocations: 194.5 kB / 1.188 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.8922, allocations: 102.8 kB / 1.188 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.8937, allocations: 0.8881 MB / 1.189 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.8937, allocations: 25.7 kB / 1.189 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.894, allocations: 300.1 kB / 1.189 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.894, allocations: 23.73 kB / 1.189 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.8941, allocations: 4 kB / 1.189 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.8942, allocations: 317.9 kB / 1.189 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.8943, allocations: 27.98 kB / 1.189 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.8944, allocations: 85.7 kB / 1.189 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.8946, allocations: 70.86 kB / 1.19 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8946, allocations: 4 kB / 1.19 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003145/0.8949, allocations: 168.8 kB / 1.19 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.895, allocations: 11.92 kB / 1.19 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.895, allocations: 0 / 1.19 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.895, allocations: 4 kB / 1.19 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.8951, allocations: 8 kB / 1.19 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.8951, allocations: 5.016 kB / 1.19 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.8952, allocations: 7.984 kB / 1.19 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.8953, allocations: 6 kB / 1.19 GB, free: 10.35 MB / 0.7605 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004169/0.8957, allocations: 321.6 kB / 1.19 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.765e-05/0.8958, allocations: 67.16 kB / 1.19 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.8962, allocations: 185.5 kB / 1.19 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.8962, allocations: 4.828 kB / 1.19 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8962, allocations: 0 / 1.19 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.8963, allocations: 0 / 1.19 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.8968, allocations: 397.4 kB / 1.191 GB, free: 9.328 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.8968, allocations: 3.984 kB / 1.191 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.8968, allocations: 12 kB / 1.191 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8969, allocations: 0 / 1.191 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.8969, allocations: 0 / 1.191 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.8969, allocations: 0.9375 kB / 1.191 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8969, allocations: 5 kB / 1.191 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.8972, allocations: 200.1 kB / 1.191 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.8974, allocations: 149.8 kB / 1.191 GB, free: 8.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.8974, allocations: 3.984 kB / 1.191 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.8976, allocations: 12 kB / 1.191 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.8976, allocations: 7.984 kB / 1.191 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.8977, allocations: 4 kB / 1.191 GB, free: 8.902 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008509/0.8985, allocations: 0.6512 MB / 1.192 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8985, allocations: 0 / 1.192 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004137/0.8989, allocations: 91.86 kB / 1.192 GB, free: 8.168 MB / 0.7605 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) * Number of clocked states: 0 () * 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.001292/0.9002, allocations: 0.5742 MB / 1.192 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.9005, allocations: 91.88 kB / 1.192 GB, free: 7.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9005, allocations: 4 kB / 1.192 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.9007, allocations: 43.91 kB / 1.192 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.9014, allocations: 144.2 kB / 1.193 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.9032, allocations: 1.185 MB / 1.194 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.9039, allocations: 0.9798 MB / 1.195 GB, free: 5.355 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.9041, allocations: 43.08 kB / 1.195 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.9041, allocations: 27.42 kB / 1.195 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of SimCode: time 2.3e-07/0.9041, allocations: 0 / 1.195 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of Templates: time 0.01478/0.9189, allocations: 6.983 MB / 1.202 GB, free: 14.53 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)