Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008877/0.0008877, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 170.3 kB / 25.18 MB, free: 8.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8949/0.8949, allocations: 177.2 MB / 205.6 MB, free: 4 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.898/1.898, allocations: 389.6 MB / 0.6364 GB, free: 13.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.196e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002898/0.00292, allocations: 2.255 MB / 0.7778 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002798/0.005719, allocations: 2.744 MB / 0.7805 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.005862, allocations: 4 kB / 0.7805 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.006949, allocations: 0.4974 MB / 0.781 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.007252, allocations: 171.1 kB / 0.7811 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.007681, allocations: 211.2 kB / 0.7813 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.008049, allocations: 398 kB / 0.7817 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.008158, allocations: 37.25 kB / 0.7818 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.008364, allocations: 183.5 kB / 0.7819 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.008501, allocations: 115.6 kB / 0.782 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.008528, allocations: 12 kB / 0.7821 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.008697, allocations: 75.86 kB / 0.7821 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.008819, allocations: 131.5 kB / 0.7823 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.951e-05/0.008918, allocations: 107.5 kB / 0.7824 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.009354, allocations: 434.3 kB / 0.7828 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.009358, allocations: 0 / 0.7828 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.009359, allocations: 0 / 0.7828 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.009365, allocations: 4 kB / 0.7828 GB, free: 7.148 MB / 0.7448 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.0007557/0.01012, allocations: 0.8218 MB / 0.7836 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.01015, allocations: 8.031 kB / 0.7836 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.01022, allocations: 44.89 kB / 0.7836 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.01053, allocations: 366.2 kB / 0.784 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.01055, allocations: 4.375 kB / 0.784 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.01056, allocations: 8.375 kB / 0.784 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.01071, allocations: 103.4 kB / 0.7841 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.01071, allocations: 3.938 kB / 0.7841 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.01072, allocations: 4 kB / 0.7841 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.01073, allocations: 0 / 0.7841 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.479e-05/0.01076, allocations: 15.98 kB / 0.7841 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.01115, allocations: 301.8 kB / 0.7844 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.01133, allocations: 116.1 kB / 0.7845 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.01135, allocations: 12.86 kB / 0.7845 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.01136, allocations: 3.938 kB / 0.7845 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.01147, allocations: 95.91 kB / 0.7846 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.01147, allocations: 8 kB / 0.7846 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001553/0.01162, allocations: 109.5 kB / 0.7847 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.01165, allocations: 51.41 kB / 0.7848 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.01229, allocations: 0.775 MB / 0.7855 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.01231, allocations: 25.7 kB / 0.7856 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/0.01239, allocations: 169.9 kB / 0.7857 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.01242, allocations: 27.78 kB / 0.7857 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.01245, allocations: 29.69 kB / 0.7858 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.01252, allocations: 306 kB / 0.7861 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.01255, allocations: 18.81 kB / 0.7861 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.01259, allocations: 56.27 kB / 0.7861 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.01264, allocations: 47.28 kB / 0.7862 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01264, allocations: 0 / 0.7862 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001049/0.01274, allocations: 108.6 kB / 0.7863 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.01276, allocations: 4 kB / 0.7863 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01276, allocations: 4 kB / 0.7863 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.01277, allocations: 3.938 kB / 0.7863 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.01283, allocations: 15.98 kB / 0.7863 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.01283, allocations: 4.141 kB / 0.7863 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.01289, allocations: 4 kB / 0.7863 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.0129, allocations: 7.984 kB / 0.7863 GB, free: 3.293 MB / 0.7448 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 9.318e-05/0.01299, allocations: 112.7 kB / 0.7864 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.01304, allocations: 47.88 kB / 0.7865 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.01319, allocations: 132 kB / 0.7866 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01319, allocations: 0 / 0.7866 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.0132, allocations: 0 / 0.7866 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.0132, allocations: 0 / 0.7866 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.01338, allocations: 205.6 kB / 0.7868 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01338, allocations: 0 / 0.7868 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.01341, allocations: 8 kB / 0.7868 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01342, allocations: 3.984 kB / 0.7868 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.01342, allocations: 7.938 kB / 0.7868 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01342, allocations: 0 / 0.7868 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01343, allocations: 0 / 0.7868 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.01354, allocations: 130.6 kB / 0.7869 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.01359, allocations: 67.47 kB / 0.787 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.01362, allocations: 7.938 kB / 0.787 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.01368, allocations: 3.984 kB / 0.787 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.01371, allocations: 15.98 kB / 0.787 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.01373, allocations: 4 kB / 0.787 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002745/0.014, allocations: 391.3 kB / 0.7874 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.014, allocations: 0 / 0.7874 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000169/0.01417, allocations: 56 kB / 0.7875 GB, free: 2.062 MB / 0.7448 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.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001096/0.01527, allocations: 0.5139 MB / 0.788 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.798e-05/0.01536, allocations: 40.78 kB / 0.788 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.01538, allocations: 16 kB / 0.788 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.01541, allocations: 28.84 kB / 0.7881 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.01578, allocations: 166.6 kB / 0.7882 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.01696, allocations: 0.974 MB / 0.7892 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.01718, allocations: 323.4 kB / 0.7895 GB, free: 176 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.01739, allocations: 145.2 kB / 0.7896 GB, free: 32 kB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.01739, allocations: 0 / 0.7896 GB, free: 32 kB / 0.7448 GB Notification: Performance of Templates: time 0.007254/0.02464, allocations: 7.363 MB / 0.7968 GB, free: 8.68 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.17262206133455]