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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 111.8 kB / 16.38 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 189.9 kB / 17.31 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 75.89 kB / 0.673 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2131, allocations: 114.5 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004075/0.2172, allocations: 2.106 MB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3581/0.5753, allocations: 2.472 MB / 0.7893 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.5755, allocations: 2.625 kB / 0.7893 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.5767, allocations: 0.492 MB / 0.7898 GB, free: 47.1 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000222/0.577, allocations: 117.7 kB / 0.7899 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.5775, allocations: 201.8 kB / 0.7901 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.5779, allocations: 355.9 kB / 0.7904 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.578, allocations: 66.09 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.5781, allocations: 127.7 kB / 0.7906 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.5783, allocations: 136.6 kB / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.5783, allocations: 10.72 kB / 0.7907 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.5785, allocations: 72.17 kB / 0.7908 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.5786, allocations: 126 kB / 0.7909 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.5788, allocations: 217.1 kB / 0.7911 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.5793, allocations: 0.6731 MB / 0.7918 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5793, allocations: 0 / 0.7918 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5793, allocations: 1.281 kB / 0.7918 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.5793, allocations: 0 / 0.7918 GB, free: 46.77 MB / 0.6544 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.0008794/0.5802, allocations: 0.8751 MB / 0.7926 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.5802, allocations: 11.28 kB / 0.7927 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.5803, allocations: 63.47 kB / 0.7927 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.5806, allocations: 428.6 kB / 0.7931 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.5807, allocations: 11.25 kB / 0.7931 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.5807, allocations: 4.5 kB / 0.7931 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.5809, allocations: 104.6 kB / 0.7932 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5809, allocations: 0.9688 kB / 0.7932 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5809, allocations: 0 / 0.7932 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5809, allocations: 0.625 kB / 0.7932 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.581, allocations: 40.66 kB / 0.7933 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.5816, allocations: 0.5207 MB / 0.7938 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.5819, allocations: 103.5 kB / 0.7939 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.598e-05/0.582, allocations: 37.16 kB / 0.7939 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.582, allocations: 0 / 0.7939 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.5822, allocations: 85.84 kB / 0.794 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.5822, allocations: 0 / 0.794 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003455/0.5826, allocations: 194.6 kB / 0.7942 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.5826, allocations: 112.8 kB / 0.7943 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/0.5834, allocations: 0.8897 MB / 0.7952 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.5835, allocations: 29.14 kB / 0.7952 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.5837, allocations: 298.4 kB / 0.7955 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.5838, allocations: 22.44 kB / 0.7955 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.5838, allocations: 27.25 kB / 0.7955 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.289e-05/0.5839, allocations: 309.2 kB / 0.7958 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.5839, allocations: 28.34 kB / 0.7959 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.584, allocations: 71.58 kB / 0.7959 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.5842, allocations: 81.75 kB / 0.796 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5842, allocations: 0 / 0.796 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002168/0.5844, allocations: 159.9 kB / 0.7962 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5844, allocations: 7.75 kB / 0.7962 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.5844, allocations: 0 / 0.7962 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5844, allocations: 0 / 0.7962 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.5845, allocations: 16.94 kB / 0.7962 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5845, allocations: 0 / 0.7962 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.5847, allocations: 17.09 kB / 0.7962 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.5847, allocations: 6.438 kB / 0.7962 GB, free: 44.46 MB / 0.6544 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.0002187/0.5849, allocations: 324 kB / 0.7965 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.585, allocations: 59.78 kB / 0.7966 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/0.5851, allocations: 72.17 kB / 0.7966 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5851, allocations: 6.25 kB / 0.7966 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5851, allocations: 0 / 0.7966 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.5851, allocations: 137.5 kB / 0.7968 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.5852, allocations: 6.422 kB / 0.7968 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.5853, allocations: 5.75 kB / 0.7968 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.5854, allocations: 10.22 kB / 0.7968 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002123/0.5856, allocations: 196.3 kB / 0.797 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002406/0.5859, allocations: 339.8 kB / 0.7973 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.089e-05/0.5859, allocations: 40.03 kB / 0.7973 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005886/0.5865, allocations: 0.6539 MB / 0.798 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of Backend: time 4.31e-07/0.5865, allocations: 3.938 kB / 0.798 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.5879, allocations: 467.8 kB / 0.7984 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001647/0.5896, allocations: 1.639 MB / 0.8 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.01151/0.6011, allocations: 5.728 MB / 0.8056 GB, free: 42.52 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)