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.001443/0.001443, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001637/0.001637, allocations: 161 kB / 24.17 MB, free: 332 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 1.01/1.01, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.982/1.982, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.603e-06/1.603e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.512e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002672/0.002697, allocations: 1.88 MB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.004134, allocations: 1.123 MB / 0.7781 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.004241, allocations: 8.594 kB / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.004725, allocations: 134.1 kB / 0.7783 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.005087, allocations: 202.2 kB / 0.7785 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.005443, allocations: 223.4 kB / 0.7787 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.005717, allocations: 267.4 kB / 0.7789 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.005832, allocations: 38.53 kB / 0.779 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006425/0.006475, allocations: 225.9 kB / 0.7792 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.006655, allocations: 155.7 kB / 0.7793 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.006684, allocations: 19.94 kB / 0.7794 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.006796, allocations: 55.91 kB / 0.7794 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.006869, allocations: 87.75 kB / 0.7795 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.006919, allocations: 59.73 kB / 0.7795 GB, free: 1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.007202, allocations: 231 kB / 0.7798 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.007206, allocations: 0 / 0.7798 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007207, allocations: 0 / 0.7798 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.007212, allocations: 0 / 0.7798 GB, free: 0.7734 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.0005141/0.007726, allocations: 0.5229 MB / 0.7803 GB, free: 232 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.007757, allocations: 8.75 kB / 0.7803 GB, free: 224 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.007882, allocations: 33.53 kB / 0.7803 GB, free: 192 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.008203, allocations: 285.4 kB / 0.7806 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.008213, allocations: 8.375 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.008221, allocations: 5.625 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.753e-05/0.008318, allocations: 66.31 kB / 0.7807 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.008325, allocations: 0 / 0.7807 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.008336, allocations: 8.797 kB / 0.7807 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.00834, allocations: 0 / 0.7807 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.008369, allocations: 21.27 kB / 0.7807 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.008653, allocations: 242.8 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.103e-05/0.008714, allocations: 29.34 kB / 0.781 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.008731, allocations: 9.391 kB / 0.781 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.008747, allocations: 0 / 0.781 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.008768, allocations: 39.58 kB / 0.781 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.008769, allocations: 0 / 0.781 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001147/0.008884, allocations: 55.39 kB / 0.7811 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.008912, allocations: 55.34 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.009171, allocations: 373 kB / 0.7815 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.009181, allocations: 25.7 kB / 0.7815 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.009235, allocations: 136.9 kB / 0.7816 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.009252, allocations: 9.5 kB / 0.7816 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.009277, allocations: 17.72 kB / 0.7816 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.009368, allocations: 350.7 kB / 0.782 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.009378, allocations: 0 / 0.782 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.869e-06/0.009388, allocations: 4.75 kB / 0.782 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.009426, allocations: 19.66 kB / 0.782 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009428, allocations: 4.969 kB / 0.782 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.538e-05/0.009494, allocations: 53.61 kB / 0.7821 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.009506, allocations: 4 kB / 0.7821 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.00951, allocations: 1.062 kB / 0.7821 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.009521, allocations: 4 kB / 0.7821 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.009574, allocations: 4.938 kB / 0.7821 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.009576, allocations: 0 / 0.7821 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.009606, allocations: 3.984 kB / 0.7821 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.009613, allocations: 9.281 kB / 0.7821 GB, free: 14.26 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 6.365e-05/0.009676, allocations: 108.7 kB / 0.7822 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.009705, allocations: 19.98 kB / 0.7822 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.009809, allocations: 69.88 kB / 0.7823 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.009811, allocations: 0 / 0.7823 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.009813, allocations: 0 / 0.7823 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.009816, allocations: 1.219 kB / 0.7823 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.009947, allocations: 141.6 kB / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.009948, allocations: 0 / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.009977, allocations: 16.42 kB / 0.7824 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009979, allocations: 0.5312 kB / 0.7824 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.009983, allocations: 0 / 0.7824 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.009985, allocations: 4.562 kB / 0.7824 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.009986, allocations: 1.25 kB / 0.7824 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.265e-05/0.01007, allocations: 151.5 kB / 0.7826 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.0101, allocations: 35.78 kB / 0.7826 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.01012, allocations: 4.75 kB / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.211e-05/0.01016, allocations: 0 / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.01018, allocations: 5.109 kB / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.01019, allocations: 0 / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001309/0.01032, allocations: 167.5 kB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01032, allocations: 0 / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001561/0.01047, allocations: 36.8 kB / 0.7828 GB, free: 13.46 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.0009614/0.01143, allocations: 430.8 kB / 0.7832 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.678e-05/0.0115, allocations: 16.84 kB / 0.7832 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.01151, allocations: 4 kB / 0.7832 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.01152, allocations: 8.859 kB / 0.7833 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.01174, allocations: 58.47 kB / 0.7833 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.01237, allocations: 456 kB / 0.7837 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.529e-05/0.01244, allocations: 104.3 kB / 0.7838 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.631e-05/0.0125, allocations: 34.05 kB / 0.7839 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.059e-05/0.01259, allocations: 87.36 kB / 0.784 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of SimCode: time 1.112e-06/0.0126, allocations: 0 / 0.784 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of Templates: time 0.004963/0.01756, allocations: 2.852 MB / 0.7867 GB, free: 9.754 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.997175573837012]