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.001405/0.001405, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001975, allocations: 194.8 kB / 16.64 MB, free: 6.477 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.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.732/1.732, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001392/0.001393, allocations: 71.09 kB / 0.6723 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2233, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.003697/0.227, allocations: 2.089 MB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003024/0.2301, allocations: 2.473 MB / 0.7886 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2302, allocations: 4 kB / 0.7886 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.2315, allocations: 0.5017 MB / 0.7891 GB, free: 7.645 MB / 0.6075 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.0002361/0.2317, allocations: 111.4 kB / 0.7892 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.2323, allocations: 217.4 kB / 0.7894 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.2327, allocations: 350.4 kB / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.2328, allocations: 64.73 kB / 0.7898 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.2329, allocations: 131.4 kB / 0.7899 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.2332, allocations: 135.2 kB / 0.7901 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.2332, allocations: 12 kB / 0.7901 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.2334, allocations: 63.95 kB / 0.7901 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.2335, allocations: 127.5 kB / 0.7902 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.2337, allocations: 226.3 kB / 0.7905 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.2343, allocations: 0.6774 MB / 0.7911 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2344, allocations: 0 / 0.7911 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2344, allocations: 0 / 0.7911 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.2344, allocations: 4 kB / 0.7911 GB, free: 5.551 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.001125/0.2355, allocations: 0.8679 MB / 0.792 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2356, allocations: 8.031 kB / 0.792 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.824e-05/0.2356, allocations: 68.09 kB / 0.792 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.2361, allocations: 428.1 kB / 0.7925 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2362, allocations: 11.94 kB / 0.7925 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2362, allocations: 4 kB / 0.7925 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.2364, allocations: 96.23 kB / 0.7926 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2364, allocations: 3.984 kB / 0.7926 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2364, allocations: 7.922 kB / 0.7926 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2364, allocations: 0 / 0.7926 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.2366, allocations: 43.92 kB / 0.7926 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.2373, allocations: 0.5161 MB / 0.7931 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.2376, allocations: 102.7 kB / 0.7932 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.598e-05/0.2377, allocations: 32.84 kB / 0.7933 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2378, allocations: 0 / 0.7933 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.2379, allocations: 91.34 kB / 0.7933 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 4.303e-05/0.238, allocations: 4 kB / 0.7933 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000386/0.2384, allocations: 196.7 kB / 0.7935 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.2385, allocations: 110.8 kB / 0.7936 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009524/0.2394, allocations: 0.8834 MB / 0.7945 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.2394, allocations: 25.7 kB / 0.7945 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.2397, allocations: 300.1 kB / 0.7948 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.2397, allocations: 27.64 kB / 0.7948 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.2398, allocations: 25.72 kB / 0.7949 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2399, allocations: 314 kB / 0.7952 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.24, allocations: 23.98 kB / 0.7952 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2401, allocations: 72.27 kB / 0.7953 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.2403, allocations: 77.64 kB / 0.7953 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2403, allocations: 0 / 0.7953 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002497/0.2405, allocations: 160.8 kB / 0.7955 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2406, allocations: 8 kB / 0.7955 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2406, allocations: 0 / 0.7955 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2406, allocations: 3.984 kB / 0.7955 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.2407, allocations: 20 kB / 0.7955 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2407, allocations: 3.938 kB / 0.7955 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.2408, allocations: 11.89 kB / 0.7955 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2408, allocations: 8.031 kB / 0.7955 GB, free: 0.7656 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.000294/0.2411, allocations: 313.4 kB / 0.7958 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.2412, allocations: 63.25 kB / 0.7959 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.2413, allocations: 73.98 kB / 0.796 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2413, allocations: 0 / 0.796 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.2413, allocations: 7.938 kB / 0.796 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2414, allocations: 0 / 0.796 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.2418, allocations: 381.5 kB / 0.7963 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2418, allocations: 0 / 0.7963 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.2418, allocations: 19.86 kB / 0.7964 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2419, allocations: 0 / 0.7964 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2419, allocations: 8 kB / 0.7964 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2419, allocations: 0 / 0.7964 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2419, allocations: 7.875 kB / 0.7964 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.2422, allocations: 188.3 kB / 0.7965 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.2423, allocations: 140.2 kB / 0.7967 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.2424, allocations: 4 kB / 0.7967 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2425, allocations: 8 kB / 0.7967 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.2426, allocations: 15.92 kB / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2426, allocations: 0 / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007615/0.2434, allocations: 0.659 MB / 0.7974 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2434, allocations: 0 / 0.7974 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003099/0.2437, allocations: 60 kB / 0.7974 GB, free: 14.75 MB / 0.6231 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.001119/0.2448, allocations: 422.1 kB / 0.7978 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.2451, allocations: 79.95 kB / 0.7979 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2451, allocations: 0 / 0.7979 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.965e-05/0.2452, allocations: 39.91 kB / 0.7979 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.2459, allocations: 153.3 kB / 0.7981 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2475, allocations: 1.088 MB / 0.7991 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.2481, allocations: 0.9743 MB / 0.8001 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.2482, allocations: 42.22 kB / 0.8001 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.2483, allocations: 23.44 kB / 0.8001 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.2483, allocations: 0 / 0.8001 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.01151/0.2598, allocations: 5.676 MB / 0.8057 GB, free: 6.488 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)