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.54/1.54, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001769/0.001769, allocations: 170.4 kB / 326.5 MB, free: 2.68 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.768/1.768, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0008216/0.0008216, allocations: 82.38 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 8.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2218, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002292/0.2242, allocations: 1.829 MB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.2266, allocations: 2.446 MB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2267, allocations: 0 / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.2279, allocations: 0.5018 MB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.2281, allocations: 95.62 kB / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.2287, allocations: 201.5 kB / 0.9017 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.229, allocations: 333 kB / 0.902 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2291, allocations: 68.72 kB / 0.9021 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2292, allocations: 115.3 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.2294, allocations: 139.3 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.2294, allocations: 4 kB / 0.9023 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.2296, allocations: 55.91 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.2297, allocations: 123.5 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.2299, allocations: 210.4 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.2303, allocations: 0.5378 MB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2303, allocations: 0 / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2303, allocations: 0 / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2303, allocations: 4 kB / 0.9032 GB, free: 61.47 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.0008658/0.2312, allocations: 0.8023 MB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2312, allocations: 8.031 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.2313, allocations: 68.09 kB / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.2317, allocations: 424.3 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2317, allocations: 384 / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.2317, allocations: 8.125 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.2319, allocations: 104.2 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.232, allocations: 0 / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.232, allocations: 3.984 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.232, allocations: 0 / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.2321, allocations: 39.98 kB / 0.9046 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.2327, allocations: 0.5161 MB / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.233, allocations: 102.6 kB / 0.9052 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.583e-05/0.2331, allocations: 32.84 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2331, allocations: 0 / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.2333, allocations: 99.33 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2333, allocations: 4 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003387/0.2337, allocations: 184.8 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.2337, allocations: 106.8 kB / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007758/0.2345, allocations: 0.8872 MB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2345, allocations: 29.7 kB / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.2347, allocations: 296.1 kB / 0.9068 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.2348, allocations: 27.64 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.2348, allocations: 13.72 kB / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.2349, allocations: 317.9 kB / 0.9072 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.2349, allocations: 31.92 kB / 0.9072 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.235, allocations: 72.27 kB / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.2351, allocations: 73.98 kB / 0.9073 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2352, allocations: 0 / 0.9073 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002052/0.2354, allocations: 168.8 kB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2354, allocations: 4 kB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2354, allocations: 48 / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2354, allocations: 7.984 kB / 0.9075 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.2355, allocations: 15.98 kB / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2355, allocations: 0 / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.2356, allocations: 11.84 kB / 0.9075 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2356, allocations: 8 kB / 0.9076 GB, free: 56.77 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 ($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.0002532/0.2359, allocations: 329.6 kB / 0.9079 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.236, allocations: 59.25 kB / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.27e-05/0.2361, allocations: 74 kB / 0.908 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2361, allocations: 0 / 0.908 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2361, allocations: 3.984 kB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2361, allocations: 3.938 kB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.2364, allocations: 381.4 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2364, allocations: 4 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.2364, allocations: 4 kB / 0.9084 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2364, allocations: 0 / 0.9084 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2364, allocations: 7.984 kB / 0.9084 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2365, allocations: 4 kB / 0.9084 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2365, allocations: 0 / 0.9084 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.2367, allocations: 196.2 kB / 0.9086 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.2368, allocations: 132.5 kB / 0.9087 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.2368, allocations: 8 kB / 0.9087 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.237, allocations: 7.922 kB / 0.9087 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.237, allocations: 7.984 kB / 0.9087 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2371, allocations: 11.94 kB / 0.9087 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005628/0.2376, allocations: 0.659 MB / 0.9094 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.182e-06/0.2376, allocations: 0 / 0.9094 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002613/0.2379, allocations: 59.94 kB / 0.9094 GB, free: 54.75 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 (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.0009675/0.2389, allocations: 414.2 kB / 0.9098 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.2391, allocations: 71.89 kB / 0.9099 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2391, allocations: 12 kB / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.2392, allocations: 31.98 kB / 0.9099 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.2398, allocations: 138.8 kB / 0.9101 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.241, allocations: 1.264 MB / 0.9113 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.2414, allocations: 0.9823 MB / 0.9123 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.2414, allocations: 23.44 kB / 0.9123 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2414, allocations: 0 / 0.9123 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.007293/0.2487, allocations: 6.587 MB / 0.9187 GB, free: 45.38 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)