Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.0009624/0.0009624, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.001726/0.001726, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.9658/0.9658, allocations: 177.2 MB / 204.7 MB, free: 5.453 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.837/1.837, allocations: 389.6 MB / 0.6355 GB, free: 12.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.7754 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.095e-05/4.374e-05, allocations: 4.094 kB / 0.7754 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.005217/0.00526, allocations: 1.881 MB / 0.7772 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.007664, allocations: 1.127 MB / 0.7783 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.007894, allocations: 3.047 kB / 0.7783 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006198/0.008513, allocations: 141.5 kB / 0.7784 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.009149, allocations: 198.3 kB / 0.7786 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.009762, allocations: 224.7 kB / 0.7788 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.01026, allocations: 264.2 kB / 0.7791 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.01046, allocations: 46.52 kB / 0.7791 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.01167, allocations: 218.2 kB / 0.7793 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.01198, allocations: 156.2 kB / 0.7795 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.01203, allocations: 21.5 kB / 0.7795 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.01222, allocations: 51.86 kB / 0.7796 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.01234, allocations: 95.73 kB / 0.7797 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.01242, allocations: 55.73 kB / 0.7797 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.01295, allocations: 224.2 kB / 0.7799 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.01296, allocations: 7.984 kB / 0.7799 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.675e-06/0.01296, allocations: 0 / 0.7799 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.01297, allocations: 0.9062 kB / 0.7799 GB, free: 0.6836 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008699/0.01384, allocations: 0.5142 MB / 0.7804 GB, free: 148 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.01389, allocations: 9.406 kB / 0.7804 GB, free: 140 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.01412, allocations: 28.91 kB / 0.7805 GB, free: 112 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.01467, allocations: 288.8 kB / 0.7807 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.01469, allocations: 8.953 kB / 0.7808 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.01472, allocations: 4.375 kB / 0.7808 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.01489, allocations: 67.53 kB / 0.7808 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.0149, allocations: 4.594 kB / 0.7808 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.01491, allocations: 4 kB / 0.7808 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.01492, allocations: 5.438 kB / 0.7808 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.206e-05/0.01496, allocations: 15.92 kB / 0.7809 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.01545, allocations: 234.8 kB / 0.7811 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.01556, allocations: 30.05 kB / 0.7811 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.299e-05/0.01558, allocations: 4.859 kB / 0.7811 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.01562, allocations: 0.5 kB / 0.7811 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.01565, allocations: 40.28 kB / 0.7812 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 4.268e-06/0.01566, allocations: 0 / 0.7812 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001934/0.01585, allocations: 57.8 kB / 0.7812 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.01589, allocations: 55.39 kB / 0.7813 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.01631, allocations: 369 kB / 0.7816 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.01632, allocations: 30.5 kB / 0.7816 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.01641, allocations: 128.9 kB / 0.7818 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.01644, allocations: 20.62 kB / 0.7818 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.01649, allocations: 13.72 kB / 0.7818 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.01663, allocations: 348 kB / 0.7821 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.01666, allocations: 7.984 kB / 0.7821 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.442e-05/0.01667, allocations: 3.984 kB / 0.7821 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.01672, allocations: 16.56 kB / 0.7822 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01672, allocations: 0 / 0.7822 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001049/0.01683, allocations: 57.59 kB / 0.7822 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.01685, allocations: 8.594 kB / 0.7822 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01685, allocations: 0.7188 kB / 0.7822 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.01687, allocations: 0 / 0.7822 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.01695, allocations: 5.75 kB / 0.7822 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.01696, allocations: 0 / 0.7822 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.017, allocations: 4 kB / 0.7822 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.01701, allocations: 0 / 0.7822 GB, free: 14.19 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001139/0.01712, allocations: 117.2 kB / 0.7823 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.01717, allocations: 19.98 kB / 0.7824 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.01735, allocations: 77.36 kB / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01735, allocations: 112 / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.01736, allocations: 4.469 kB / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01736, allocations: 0 / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.01759, allocations: 142.8 kB / 0.7826 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01759, allocations: 0 / 0.7826 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.01765, allocations: 7.984 kB / 0.7826 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.01765, allocations: 0.8125 kB / 0.7826 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.01766, allocations: 0 / 0.7826 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.01767, allocations: 4.531 kB / 0.7826 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01767, allocations: 0 / 0.7826 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.01783, allocations: 152.4 kB / 0.7827 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.01789, allocations: 35.69 kB / 0.7828 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01792, allocations: 4.938 kB / 0.7828 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.01799, allocations: 0 / 0.7828 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.01803, allocations: 4 kB / 0.7828 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01803, allocations: 0.6562 kB / 0.7828 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002252/0.01826, allocations: 172.3 kB / 0.7829 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01826, allocations: 0 / 0.7829 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002526/0.01851, allocations: 25.09 kB / 0.783 GB, free: 13.39 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001518/0.02003, allocations: 442.8 kB / 0.7834 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.02014, allocations: 16.84 kB / 0.7834 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.02015, allocations: 5.031 kB / 0.7834 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.02018, allocations: 12.8 kB / 0.7834 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.02053, allocations: 52.66 kB / 0.7835 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.02168, allocations: 457.4 kB / 0.7839 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.02178, allocations: 100.3 kB / 0.784 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.02188, allocations: 36.61 kB / 0.784 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.02202, allocations: 83.36 kB / 0.7841 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of SimCode: time 1.402e-06/0.02202, allocations: 1.188 kB / 0.7841 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.008272/0.03029, allocations: 2.854 MB / 0.7869 GB, free: 9.672 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.258387051522732]