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.001497/0.001497, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001651/0.001651, allocations: 167.6 kB / 24.97 MB, free: 9.184 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.9598/0.9598, allocations: 177.1 MB / 205.4 MB, free: 5.484 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.912/1.912, allocations: 389.6 MB / 0.6362 GB, free: 12.27 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 1.353e-06/1.353e-06, allocations: 0 / 0.776 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.438e-05, allocations: 2.312 kB / 0.776 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003441/0.003466, allocations: 1.877 MB / 0.7778 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.005314, allocations: 1.124 MB / 0.7789 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.005436, allocations: 7.938 kB / 0.7789 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.005848, allocations: 133.7 kB / 0.779 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.006326, allocations: 197.4 kB / 0.7792 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.006832, allocations: 224.3 kB / 0.7794 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005133/0.007345, allocations: 267.4 kB / 0.7797 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.007485, allocations: 43.02 kB / 0.7797 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008466/0.008332, allocations: 227.1 kB / 0.78 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.008561, allocations: 153.9 kB / 0.7801 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.008598, allocations: 20 kB / 0.7801 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.008735, allocations: 51.92 kB / 0.7802 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.008835, allocations: 91.69 kB / 0.7803 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.008902, allocations: 59.72 kB / 0.7803 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.009252, allocations: 231.1 kB / 0.7805 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.009255, allocations: 2.75 kB / 0.7805 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.282e-06/0.009256, allocations: 0 / 0.7805 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.009262, allocations: 0 / 0.7805 GB, free: 0.7305 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.0006412/0.009903, allocations: 0.5221 MB / 0.7811 GB, free: 188 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.009943, allocations: 8.75 kB / 0.7811 GB, free: 180 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.0101, allocations: 32.84 kB / 0.7811 GB, free: 148 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.01051, allocations: 287 kB / 0.7814 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.01052, allocations: 4.375 kB / 0.7814 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.01053, allocations: 4.375 kB / 0.7814 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.01065, allocations: 66.92 kB / 0.7814 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.01066, allocations: 3.938 kB / 0.7814 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.01067, allocations: 8 kB / 0.7815 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.01068, allocations: 0 / 0.7815 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.852e-05/0.01071, allocations: 11.94 kB / 0.7815 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.01108, allocations: 244.5 kB / 0.7817 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.732e-05/0.01116, allocations: 37.31 kB / 0.7817 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.01117, allocations: 4.859 kB / 0.7817 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.01119, allocations: 4.906 kB / 0.7817 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.01122, allocations: 30.56 kB / 0.7818 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.01122, allocations: 0 / 0.7818 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001417/0.01136, allocations: 58.92 kB / 0.7818 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.01139, allocations: 51.41 kB / 0.7819 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.01176, allocations: 377 kB / 0.7822 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.01177, allocations: 27.45 kB / 0.7823 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.01184, allocations: 132.9 kB / 0.7824 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.01187, allocations: 11.91 kB / 0.7824 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.0119, allocations: 21.7 kB / 0.7824 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.01201, allocations: 342.7 kB / 0.7827 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.01203, allocations: 5.219 kB / 0.7828 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.01204, allocations: 3.984 kB / 0.7828 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.01207, allocations: 15.69 kB / 0.7828 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01207, allocations: 0.6562 kB / 0.7828 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.487e-05/0.01216, allocations: 50.8 kB / 0.7828 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01217, allocations: 8 kB / 0.7828 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01218, allocations: 3.938 kB / 0.7828 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01219, allocations: 0.7188 kB / 0.7828 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.01225, allocations: 7.984 kB / 0.7828 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.01225, allocations: 0.5 kB / 0.7828 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.0123, allocations: 4.781 kB / 0.7828 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.0123, allocations: 0 / 0.7828 GB, free: 14.23 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 7.989e-05/0.01238, allocations: 113.2 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.01243, allocations: 23.97 kB / 0.783 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.01255, allocations: 69.34 kB / 0.783 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01255, allocations: 0 / 0.783 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01255, allocations: 1.281 kB / 0.783 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.0126, allocations: 35.78 kB / 0.7831 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.01262, allocations: 0 / 0.7831 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.0127, allocations: 4 kB / 0.7831 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.01273, allocations: 12.67 kB / 0.7831 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.252e-05/0.01281, allocations: 113.5 kB / 0.7832 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001509/0.01296, allocations: 238.5 kB / 0.7834 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.873e-05/0.01299, allocations: 12.8 kB / 0.7834 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001827/0.01318, allocations: 157.2 kB / 0.7836 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of Backend: time 3.91e-07/0.01318, allocations: 0 / 0.7836 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.01482, allocations: 0.5084 MB / 0.7841 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of SimCode: time 0.001164/0.01598, allocations: 1.029 MB / 0.7851 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.005251/0.02123, allocations: 3.147 MB / 0.7882 GB, free: 9.102 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: 4.874276941642165]