Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 182.7 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 0.5783 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009899/0.0009901, allocations: 83.88 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003224, allocations: 12.12 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2349, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002782/0.2377, allocations: 1.778 MB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.2405, allocations: 2.25 MB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.2407, allocations: 3.938 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.2419, allocations: 486.3 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.2422, allocations: 87.64 kB / 0.9053 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.2428, allocations: 188.4 kB / 0.9055 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000331/0.2431, allocations: 307.5 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2433, allocations: 68.72 kB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.2434, allocations: 119.4 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2436, allocations: 135.3 kB / 0.9061 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.2436, allocations: 4 kB / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.2437, allocations: 43.98 kB / 0.9062 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.2439, allocations: 119.5 kB / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.244, allocations: 133.4 kB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.2444, allocations: 0.53 MB / 0.9069 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2444, allocations: 0 / 0.9069 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2444, allocations: 3.938 kB / 0.9069 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2444, allocations: 0 / 0.9069 GB, free: 57.64 MB / 0.6042 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.0009455/0.2454, allocations: 0.7984 MB / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2454, allocations: 8.031 kB / 0.9077 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.2455, allocations: 67.16 kB / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.2459, allocations: 399.6 kB / 0.9082 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.2459, allocations: 4 kB / 0.9082 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.2459, allocations: 4 kB / 0.9082 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.2461, allocations: 104.2 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2462, allocations: 0 / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.2462, allocations: 0 / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2462, allocations: 3.953 kB / 0.9083 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.2463, allocations: 47.91 kB / 0.9083 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.2469, allocations: 0.5123 MB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.2473, allocations: 102.7 kB / 0.9089 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.2473, allocations: 36.78 kB / 0.9089 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.2474, allocations: 3.953 kB / 0.9089 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.2475, allocations: 87.38 kB / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2475, allocations: 0 / 0.909 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003771/0.2479, allocations: 192.8 kB / 0.9092 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.248, allocations: 102.8 kB / 0.9093 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007645/0.2487, allocations: 0.8833 MB / 0.9102 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2488, allocations: 29.7 kB / 0.9102 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.249, allocations: 300.1 kB / 0.9105 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.249, allocations: 23.72 kB / 0.9105 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.249, allocations: 4 kB / 0.9105 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.2491, allocations: 306 kB / 0.9108 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.2491, allocations: 27.98 kB / 0.9108 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.2492, allocations: 72.27 kB / 0.9109 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.535e-05/0.2493, allocations: 39.94 kB / 0.9109 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2493, allocations: 3.984 kB / 0.9109 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002096/0.2495, allocations: 164.8 kB / 0.9111 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2496, allocations: 4 kB / 0.9111 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2496, allocations: 4 kB / 0.9111 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2496, allocations: 7.938 kB / 0.9111 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.2497, allocations: 15.98 kB / 0.9111 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2497, allocations: 0 / 0.9111 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2498, allocations: 8.031 kB / 0.9111 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2498, allocations: 4 kB / 0.9111 GB, free: 53.05 MB / 0.6042 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,sta.y,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.0002406/0.2501, allocations: 323.3 kB / 0.9115 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.2501, allocations: 67.11 kB / 0.9115 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.033e-05/0.2502, allocations: 74 kB / 0.9116 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2502, allocations: 0 / 0.9116 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2502, allocations: 0 / 0.9116 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2502, allocations: 3.938 kB / 0.9116 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.2505, allocations: 385.4 kB / 0.912 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2505, allocations: 8 kB / 0.912 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.2506, allocations: 7.938 kB / 0.912 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2506, allocations: 0 / 0.912 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2506, allocations: 11.94 kB / 0.912 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2506, allocations: 0 / 0.912 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2506, allocations: 192 / 0.912 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.2508, allocations: 188.2 kB / 0.9122 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.2509, allocations: 136.2 kB / 0.9123 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.251, allocations: 12 kB / 0.9123 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2511, allocations: 7.938 kB / 0.9123 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.2512, allocations: 11.98 kB / 0.9123 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.2512, allocations: 4 kB / 0.9123 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005739/0.2518, allocations: 0.6473 MB / 0.913 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2518, allocations: 4 kB / 0.913 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002674/0.2521, allocations: 59.94 kB / 0.913 GB, free: 51.03 MB / 0.6042 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 (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.0009858/0.253, allocations: 440.9 kB / 0.9134 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.2533, allocations: 63.97 kB / 0.9135 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.2533, allocations: 3.984 kB / 0.9135 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.2534, allocations: 40.08 kB / 0.9135 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.254, allocations: 142.2 kB / 0.9137 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.2552, allocations: 1.221 MB / 0.9149 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.2556, allocations: 0.9746 MB / 0.9158 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.2557, allocations: 27.42 kB / 0.9158 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2557, allocations: 0 / 0.9158 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.008283/0.2639, allocations: 6.61 MB / 0.9223 GB, free: 41.66 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)