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.0009541/0.0009541, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.001028/0.001028, allocations: 172.9 kB / 25.18 MB, free: 8.918 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.9256/0.9256, allocations: 177.1 MB / 205.6 MB, free: 5.402 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.869/1.869, allocations: 389.6 MB / 0.6364 GB, free: 12.22 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.152e-06/1.152e-06, allocations: 0 / 0.7755 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.568e-05, allocations: 2.969 kB / 0.7755 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002258/0.002274, allocations: 1.87 MB / 0.7774 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003563, allocations: 1.132 MB / 0.7785 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.00365, allocations: 7.938 kB / 0.7785 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.003984, allocations: 129.1 kB / 0.7786 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.004293, allocations: 212 kB / 0.7788 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.004564, allocations: 211.4 kB / 0.779 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.004791, allocations: 275.3 kB / 0.7793 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.004893, allocations: 42.52 kB / 0.7793 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.005476, allocations: 214 kB / 0.7795 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.005624, allocations: 155.7 kB / 0.7797 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.005652, allocations: 20.53 kB / 0.7797 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.005743, allocations: 49.72 kB / 0.7797 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.005812, allocations: 95.67 kB / 0.7798 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.005863, allocations: 59.78 kB / 0.7799 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.006102, allocations: 231 kB / 0.7801 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.006103, allocations: 0 / 0.7801 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.32e-07/0.006104, allocations: 0.7812 kB / 0.7801 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.006109, allocations: 0 / 0.7801 GB, free: 1.363 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.0004767/0.006585, allocations: 0.5148 MB / 0.7806 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.006617, allocations: 16.59 kB / 0.7806 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.006726, allocations: 28.91 kB / 0.7806 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.007003, allocations: 295.9 kB / 0.7809 GB, free: 488 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.007011, allocations: 4.375 kB / 0.7809 GB, free: 484 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.007021, allocations: 4.375 kB / 0.7809 GB, free: 480 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.828e-05/0.007109, allocations: 66.92 kB / 0.781 GB, free: 404 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.007116, allocations: 7.938 kB / 0.781 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.007123, allocations: 0 / 0.781 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.007127, allocations: 0 / 0.781 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.007152, allocations: 15.98 kB / 0.781 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.00741, allocations: 237.8 kB / 0.7812 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.007465, allocations: 25.41 kB / 0.7813 GB, free: 92 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.007479, allocations: 12.84 kB / 0.7813 GB, free: 76 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.007494, allocations: 4 kB / 0.7813 GB, free: 72 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.007511, allocations: 34.5 kB / 0.7813 GB, free: 28 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.007512, allocations: 0 / 0.7813 GB, free: 28 kB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001136/0.007626, allocations: 57.78 kB / 0.7814 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.007654, allocations: 56.25 kB / 0.7814 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.007898, allocations: 377 kB / 0.7818 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.007907, allocations: 26.3 kB / 0.7818 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.007958, allocations: 133 kB / 0.7819 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.007977, allocations: 16.36 kB / 0.782 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.007999, allocations: 14.78 kB / 0.782 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.008089, allocations: 354.7 kB / 0.7823 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-06/0.008098, allocations: 0 / 0.7823 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.008107, allocations: 8.438 kB / 0.7823 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/0.008138, allocations: 16.2 kB / 0.7823 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00814, allocations: 0 / 0.7823 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.548e-05/0.008195, allocations: 54.61 kB / 0.7824 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.008207, allocations: 5.719 kB / 0.7824 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008212, allocations: 0.5 kB / 0.7824 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.008218, allocations: 0.875 kB / 0.7824 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.666e-05/0.008265, allocations: 11.98 kB / 0.7824 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.008268, allocations: 0 / 0.7824 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.008295, allocations: 1.75 kB / 0.7824 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.008299, allocations: 0 / 0.7824 GB, free: 14.86 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.127e-05/0.00836, allocations: 120.5 kB / 0.7825 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.008381, allocations: 11.98 kB / 0.7825 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.119e-05/0.008472, allocations: 77.44 kB / 0.7826 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008474, allocations: 4.031 kB / 0.7826 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.008476, allocations: 1.5 kB / 0.7826 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008479, allocations: 0 / 0.7826 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.0086, allocations: 141.7 kB / 0.7827 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.0086, allocations: 0 / 0.7827 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.00862, allocations: 4.875 kB / 0.7827 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008622, allocations: 4 kB / 0.7827 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.008626, allocations: 0.875 kB / 0.7828 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.008627, allocations: 0 / 0.7828 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008628, allocations: 0.5625 kB / 0.7828 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.768e-05/0.008706, allocations: 155.4 kB / 0.7829 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.008736, allocations: 32.3 kB / 0.7829 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.008751, allocations: 1.344 kB / 0.7829 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.008791, allocations: 8 kB / 0.7829 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.008812, allocations: 7.922 kB / 0.7829 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.008815, allocations: 0 / 0.7829 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001207/0.008936, allocations: 168.8 kB / 0.7831 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008936, allocations: 0 / 0.7831 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001366/0.009072, allocations: 27.92 kB / 0.7831 GB, free: 14.06 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.0008404/0.009913, allocations: 440.9 kB / 0.7836 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.646e-05/0.009969, allocations: 22.5 kB / 0.7836 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.009975, allocations: 0 / 0.7836 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.009989, allocations: 16.84 kB / 0.7836 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01018, allocations: 47.55 kB / 0.7836 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.01076, allocations: 492.2 kB / 0.7841 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.01088, allocations: 179.5 kB / 0.7843 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.01096, allocations: 83.98 kB / 0.7844 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01096, allocations: 0 / 0.7844 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of Templates: time 0.003575/0.01454, allocations: 3.798 MB / 0.7881 GB, free: 9.281 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 > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.726809347979724]