Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.731/2.731, allocations: 287.5 MB / 302.4 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 178.1 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.699/2.699, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000998/0.0009974, allocations: 84.92 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004939, allocations: 13.97 kB / 0.8658 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2537, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.00275/0.2565, allocations: 1.759 MB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00364/0.2602, allocations: 2.238 MB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.2605, allocations: 3.938 kB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.2622, allocations: 490.3 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.2626, allocations: 91.62 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.2635, allocations: 191.6 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004783/0.264, allocations: 307.6 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2641, allocations: 64.72 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.2643, allocations: 123.4 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.2645, allocations: 139.2 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.2646, allocations: 0 / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.2649, allocations: 47.98 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.2651, allocations: 123.5 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2652, allocations: 125.4 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.2658, allocations: 0.5455 MB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2658, allocations: 0 / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2658, allocations: 0 / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2658, allocations: 0 / 0.9844 GB, free: 22.12 MB / 0.6198 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.001265/0.2671, allocations: 0.8021 MB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2672, allocations: 12.03 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.2673, allocations: 63.2 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.2678, allocations: 403.5 kB / 0.9857 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.2679, allocations: 8 kB / 0.9857 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.2679, allocations: 4 kB / 0.9857 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.2682, allocations: 100.2 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2682, allocations: 0 / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.2682, allocations: 0 / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2683, allocations: 4 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.2684, allocations: 43.92 kB / 0.9858 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.2693, allocations: 0.5085 MB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.2699, allocations: 102.7 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2701, allocations: 32.84 kB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.2701, allocations: 0 / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.2704, allocations: 87.33 kB / 0.9865 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.2704, allocations: 4 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005855/0.271, allocations: 196.7 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.271, allocations: 102.8 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.2725, allocations: 0.8795 MB / 0.9877 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2725, allocations: 29.7 kB / 0.9877 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.2729, allocations: 304 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.2729, allocations: 19.75 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.2729, allocations: 0 / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.996e-05/0.273, allocations: 314 kB / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.2731, allocations: 23.98 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.2733, allocations: 84.14 kB / 0.9884 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.2734, allocations: 32 kB / 0.9885 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2735, allocations: 0 / 0.9885 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003782/0.2738, allocations: 160.8 kB / 0.9886 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2739, allocations: 11.94 kB / 0.9886 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2739, allocations: 3.953 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2739, allocations: 3.938 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.2741, allocations: 12 kB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2741, allocations: 3.984 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.2743, allocations: 12 kB / 0.9887 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.2744, allocations: 8.031 kB / 0.9887 GB, free: 17.52 MB / 0.6198 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 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004398/0.2748, allocations: 313.7 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.2749, allocations: 67.16 kB / 0.989 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.2751, allocations: 73.98 kB / 0.9891 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.2751, allocations: 7.953 kB / 0.9891 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2751, allocations: 0 / 0.9891 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2751, allocations: 0 / 0.9891 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.2755, allocations: 389.4 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2755, allocations: 0 / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.2756, allocations: 7.938 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2757, allocations: 8 kB / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2757, allocations: 0 / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2757, allocations: 0 / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2757, allocations: 3.953 kB / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.2761, allocations: 192.6 kB / 0.9897 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2762, allocations: 136.3 kB / 0.9898 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.2763, allocations: 0 / 0.9898 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.2765, allocations: 11.98 kB / 0.9898 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.2766, allocations: 15.94 kB / 0.9898 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.2767, allocations: 4 kB / 0.9898 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001013/0.2777, allocations: 0.6512 MB / 0.9905 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2777, allocations: 0 / 0.9905 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004063/0.2781, allocations: 48 kB / 0.9905 GB, free: 15.52 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/0.2793, allocations: 434.3 kB / 0.9909 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.2797, allocations: 71.95 kB / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2797, allocations: 0 / 0.991 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.2799, allocations: 43.91 kB / 0.991 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.281, allocations: 136.2 kB / 0.9912 GB, free: 15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.283, allocations: 1.168 MB / 0.9923 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.2836, allocations: 0.9745 MB / 0.9933 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002402/0.2838, allocations: 42.28 kB / 0.9933 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.2839, allocations: 31.42 kB / 0.9933 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of SimCode: time 1.243e-06/0.2839, allocations: 3.938 kB / 0.9933 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.01529/0.2992, allocations: 5.269 MB / 0.9985 GB, free: 7.52 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)