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.001258/0.001258, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001084/0.001084, allocations: 191.5 kB / 16.14 MB, free: 6.703 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.519/1.519, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.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.824/1.824, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.00127/0.00127, allocations: 63.83 kB / 0.6708 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2199, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003591/0.2235, allocations: 2.152 MB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.2266, allocations: 2.442 MB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.2268, allocations: 4 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.2282, allocations: 0.4982 MB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.2284, allocations: 99.62 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.229, allocations: 191.4 kB / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.2295, allocations: 341.5 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2296, allocations: 68.72 kB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.2298, allocations: 115.3 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.23, allocations: 139.3 kB / 0.7886 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.23, allocations: 4 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.2302, allocations: 59.89 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.2304, allocations: 123.5 kB / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.2305, allocations: 214.4 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005954/0.2311, allocations: 0.6539 MB / 0.7896 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2312, allocations: 4 kB / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2312, allocations: 0 / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.2312, allocations: 3.938 kB / 0.7896 GB, free: 6.883 MB / 0.6075 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.001362/0.2326, allocations: 0.8758 MB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.2326, allocations: 8.031 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.2327, allocations: 68.09 kB / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.2333, allocations: 428.2 kB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.2333, allocations: 3.938 kB / 0.7909 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2334, allocations: 11.94 kB / 0.791 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.2336, allocations: 100.2 kB / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2337, allocations: 0 / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.2337, allocations: 7.984 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.2337, allocations: 3.984 kB / 0.7911 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2338, allocations: 35.98 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.2347, allocations: 0.5161 MB / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.2351, allocations: 98.64 kB / 0.7917 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.2352, allocations: 36.84 kB / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.2352, allocations: 4 kB / 0.7917 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.2354, allocations: 87.41 kB / 0.7918 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.2354, allocations: 0 / 0.7918 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004368/0.2359, allocations: 192.8 kB / 0.792 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.236, allocations: 110.8 kB / 0.7921 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.237, allocations: 0.8834 MB / 0.793 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.2371, allocations: 29.7 kB / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.2373, allocations: 300 kB / 0.7933 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.2374, allocations: 27.64 kB / 0.7933 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.2374, allocations: 29.66 kB / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2376, allocations: 314 kB / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.2377, allocations: 27.98 kB / 0.7937 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.2378, allocations: 72.27 kB / 0.7937 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.2379, allocations: 69.7 kB / 0.7938 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2379, allocations: 0 / 0.7938 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002536/0.2382, allocations: 164.8 kB / 0.794 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2382, allocations: 4 kB / 0.794 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2382, allocations: 4 kB / 0.794 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2383, allocations: 0 / 0.794 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.2383, allocations: 15.98 kB / 0.794 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2384, allocations: 8.062 kB / 0.794 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.2385, allocations: 11.89 kB / 0.794 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2385, allocations: 11.97 kB / 0.794 GB, free: 2.094 MB / 0.6075 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.0003132/0.2388, allocations: 313.7 kB / 0.7943 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.2389, allocations: 59.25 kB / 0.7944 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.2391, allocations: 81.98 kB / 0.7944 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2391, allocations: 0 / 0.7944 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.2391, allocations: 3.938 kB / 0.7944 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2391, allocations: 4 kB / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.2395, allocations: 381.4 kB / 0.7948 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2395, allocations: 0 / 0.7948 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.2396, allocations: 7.984 kB / 0.7948 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2396, allocations: 4 kB / 0.7948 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2396, allocations: 4 kB / 0.7948 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2396, allocations: 0 / 0.7948 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2396, allocations: 3.938 kB / 0.7948 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.24, allocations: 188.3 kB / 0.795 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.2401, allocations: 140.2 kB / 0.7951 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.2402, allocations: 4 kB / 0.7952 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2403, allocations: 8 kB / 0.7952 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.2404, allocations: 11.92 kB / 0.7952 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2404, allocations: 4 kB / 0.7952 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007487/0.2412, allocations: 0.659 MB / 0.7958 GB, free: 148 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2412, allocations: 3.938 kB / 0.7958 GB, free: 144 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002944/0.2415, allocations: 56 kB / 0.7959 GB, free: 88 kB / 0.6075 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.001082/0.2426, allocations: 427 kB / 0.7963 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.2428, allocations: 75.91 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.2428, allocations: 0 / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.71e-05/0.2429, allocations: 40.11 kB / 0.7964 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.2436, allocations: 137.2 kB / 0.7965 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.2452, allocations: 1.215 MB / 0.7977 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.2457, allocations: 0.9824 MB / 0.7987 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.2459, allocations: 30.3 kB / 0.7987 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.246, allocations: 23.44 kB / 0.7987 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.246, allocations: 4 kB / 0.7987 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.0112/0.2572, allocations: 5.48 MB / 0.8041 GB, free: 7.902 MB / 0.6231 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)