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.001246/0.001246, allocations: 103.4 kB / 15.98 MB, free: 5.891 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.001264/0.001264, allocations: 187.4 kB / 16.91 MB, free: 5.746 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.522/1.522, allocations: 205.1 MB / 222.8 MB, free: 4.66 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.805/1.805, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001369/0.001369, allocations: 67.14 kB / 0.6717 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2326, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.00371/0.2364, allocations: 2.156 MB / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002994/0.2394, allocations: 2.439 MB / 0.788 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2396, allocations: 0 / 0.788 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.241, allocations: 0.4943 MB / 0.7885 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.2412, allocations: 103.6 kB / 0.7886 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.2418, allocations: 194.5 kB / 0.7888 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.2423, allocations: 378.4 kB / 0.7891 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2424, allocations: 72.72 kB / 0.7892 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.2426, allocations: 119.4 kB / 0.7893 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.2428, allocations: 151.2 kB / 0.7895 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.2428, allocations: 8 kB / 0.7895 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.243, allocations: 71.89 kB / 0.7895 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.2431, allocations: 127.5 kB / 0.7897 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.2433, allocations: 218.5 kB / 0.7899 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.2439, allocations: 0.5535 MB / 0.7904 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2439, allocations: 0 / 0.7904 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2439, allocations: 0 / 0.7904 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.2439, allocations: 0 / 0.7904 GB, free: 6.781 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.001176/0.2451, allocations: 0.8679 MB / 0.7913 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2451, allocations: 8.031 kB / 0.7913 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.2453, allocations: 72.09 kB / 0.7913 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.2457, allocations: 428.1 kB / 0.7917 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.2458, allocations: 11.94 kB / 0.7918 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.2458, allocations: 0 / 0.7918 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.246, allocations: 104.1 kB / 0.7919 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.246, allocations: 0 / 0.7919 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.2461, allocations: 0 / 0.7919 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2461, allocations: 3.984 kB / 0.7919 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.2462, allocations: 47.97 kB / 0.7919 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000746/0.247, allocations: 0.5199 MB / 0.7924 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.2474, allocations: 98.64 kB / 0.7925 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.2474, allocations: 36.84 kB / 0.7925 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2475, allocations: 0 / 0.7925 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.2477, allocations: 87.41 kB / 0.7926 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.2477, allocations: 0 / 0.7926 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004193/0.2481, allocations: 192.8 kB / 0.7928 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.2482, allocations: 110.8 kB / 0.7929 GB, free: 4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.2492, allocations: 0.8834 MB / 0.7938 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.2492, allocations: 33.7 kB / 0.7938 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.2495, allocations: 300.1 kB / 0.7941 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.2495, allocations: 19.64 kB / 0.7941 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.2496, allocations: 25.72 kB / 0.7941 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2498, allocations: 314 kB / 0.7944 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.2498, allocations: 23.98 kB / 0.7945 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.25, allocations: 80.22 kB / 0.7945 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.2501, allocations: 69.69 kB / 0.7946 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2501, allocations: 0 / 0.7946 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002671/0.2504, allocations: 165.2 kB / 0.7948 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2504, allocations: 8 kB / 0.7948 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2504, allocations: 0 / 0.7948 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2505, allocations: 0 / 0.7948 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.2505, allocations: 20.02 kB / 0.7948 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2506, allocations: 3.938 kB / 0.7948 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.2507, allocations: 15.83 kB / 0.7948 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.2507, allocations: 4 kB / 0.7948 GB, free: 2 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.0002998/0.251, allocations: 317.3 kB / 0.7951 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.2511, allocations: 67.25 kB / 0.7952 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.2512, allocations: 74.17 kB / 0.7953 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2512, allocations: 4 kB / 0.7953 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.2512, allocations: 7.875 kB / 0.7953 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2512, allocations: 4 kB / 0.7953 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.2516, allocations: 385.3 kB / 0.7956 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2516, allocations: 0 / 0.7956 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.2517, allocations: 11.98 kB / 0.7956 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2517, allocations: 0 / 0.7956 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2517, allocations: 4 kB / 0.7956 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2517, allocations: 0 / 0.7956 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2517, allocations: 3.938 kB / 0.7957 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.2521, allocations: 192.3 kB / 0.7958 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.2522, allocations: 140.2 kB / 0.796 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.2523, allocations: 3.984 kB / 0.796 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2524, allocations: 4 kB / 0.796 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.2525, allocations: 15.92 kB / 0.796 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.2525, allocations: 4 kB / 0.796 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008016/0.2533, allocations: 0.6551 MB / 0.7966 GB, free: 40 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2533, allocations: 0 / 0.7966 GB, free: 40 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003398/0.2537, allocations: 60.05 kB / 0.7967 GB, free: 15.98 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.00125/0.2549, allocations: 437.8 kB / 0.7971 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.2552, allocations: 71.91 kB / 0.7972 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2552, allocations: 0 / 0.7972 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2553, allocations: 39.97 kB / 0.7972 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.256, allocations: 136.1 kB / 0.7973 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.2576, allocations: 1.281 MB / 0.7986 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/0.2583, allocations: 0.9743 MB / 0.7996 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.2584, allocations: 23.44 kB / 0.7996 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2584, allocations: 0 / 0.7996 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.0094/0.2678, allocations: 6.696 MB / 0.8061 GB, free: 6.496 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)