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.000748/0.000748, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001884, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007589/0.0007589, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.001962, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9515/0.9515, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09066/1.042, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.885/1.885, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5002/2.385, allocations: 127.1 MB / 0.7435 GB, free: 4.531 MB / 0.7136 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.352e-06/1.352e-06, allocations: 0 / 0.7448 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.317e-05, allocations: 4.828 kB / 0.7448 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002375/0.002398, allocations: 1.882 MB / 0.7466 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.003722, allocations: 1.129 MB / 0.7477 GB, free: 240 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.705e-05/0.003809, allocations: 7.938 kB / 0.7478 GB, free: 232 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.004062, allocations: 138.5 kB / 0.7479 GB, free: 96 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.004387, allocations: 202 kB / 0.7481 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.004777, allocations: 228.8 kB / 0.7483 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.005066, allocations: 265.5 kB / 0.7486 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.00518, allocations: 47.11 kB / 0.7486 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006919/0.005872, allocations: 257.5 kB / 0.7488 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.006039, allocations: 152.2 kB / 0.749 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.006067, allocations: 21.34 kB / 0.749 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.006175, allocations: 55.86 kB / 0.7491 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.006245, allocations: 75.78 kB / 0.7491 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.006292, allocations: 51.75 kB / 0.7492 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.006556, allocations: 220.7 kB / 0.7494 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.006566, allocations: 0 / 0.7494 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.92e-07/0.006567, allocations: 0 / 0.7494 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.006576, allocations: 0 / 0.7494 GB, free: 14.61 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.0005138/0.00709, allocations: 0.5554 MB / 0.7499 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.007116, allocations: 8.031 kB / 0.7499 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.007257, allocations: 118 kB / 0.7501 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.007556, allocations: 288 kB / 0.7503 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.007565, allocations: 8.312 kB / 0.7503 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.007576, allocations: 4.375 kB / 0.7503 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.007659, allocations: 72.98 kB / 0.7504 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.007666, allocations: 3.938 kB / 0.7504 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.007674, allocations: 8 kB / 0.7504 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.007678, allocations: 0 / 0.7504 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.455e-05/0.007703, allocations: 11.94 kB / 0.7504 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.007961, allocations: 236.5 kB / 0.7507 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.256e-05/0.008024, allocations: 33.38 kB / 0.7507 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.13e-05/0.008035, allocations: 4.859 kB / 0.7507 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.008052, allocations: 6.75 kB / 0.7507 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.008068, allocations: 30.56 kB / 0.7507 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.008069, allocations: 3.938 kB / 0.7507 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 9.798e-05/0.008167, allocations: 61.84 kB / 0.7508 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.008191, allocations: 51.41 kB / 0.7508 GB, free: 13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.008449, allocations: 373 kB / 0.7512 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.008458, allocations: 25.7 kB / 0.7512 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.008542, allocations: 136.9 kB / 0.7514 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.008558, allocations: 11.34 kB / 0.7514 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.008582, allocations: 21.7 kB / 0.7514 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.008664, allocations: 346.7 kB / 0.7517 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.008672, allocations: 0 / 0.7517 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.035e-05/0.008682, allocations: 7.984 kB / 0.7517 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.26e-05/0.008705, allocations: 15.62 kB / 0.7517 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.008706, allocations: 0 / 0.7517 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.907e-05/0.008755, allocations: 53.67 kB / 0.7518 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.008765, allocations: 4 kB / 0.7518 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.008769, allocations: 0.7188 kB / 0.7518 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.008778, allocations: 0 / 0.7518 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/0.008821, allocations: 12.67 kB / 0.7518 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.008824, allocations: 4.516 kB / 0.7518 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.008852, allocations: 0 / 0.7518 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.008855, allocations: 0.5625 kB / 0.7518 GB, free: 11.96 MB / 0.7292 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.547e-05/0.008921, allocations: 130 kB / 0.7519 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.008944, allocations: 23.91 kB / 0.752 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.423e-05/0.009029, allocations: 68.44 kB / 0.752 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.00903, allocations: 112 / 0.752 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.009031, allocations: 4.906 kB / 0.752 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009034, allocations: 3.984 kB / 0.752 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.009153, allocations: 134.5 kB / 0.7522 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.009154, allocations: 0 / 0.7522 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.00924, allocations: 9.156 kB / 0.7522 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.009268, allocations: 35.75 kB / 0.7522 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.009269, allocations: 0 / 0.7522 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.009277, allocations: 0 / 0.7522 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.009278, allocations: 0.7812 kB / 0.7522 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.00928, allocations: 4 kB / 0.7522 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.872e-05/0.009359, allocations: 156.7 kB / 0.7524 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.009374, allocations: 4 kB / 0.7524 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/0.009414, allocations: 4 kB / 0.7524 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.009434, allocations: 0.5312 kB / 0.7524 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.009436, allocations: 0 / 0.7524 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001297/0.009566, allocations: 172.5 kB / 0.7525 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009566, allocations: 0 / 0.7525 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001422/0.009708, allocations: 25.5 kB / 0.7526 GB, free: 11.15 MB / 0.7292 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.001065/0.01077, allocations: 488.9 kB / 0.753 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.396e-05/0.01084, allocations: 17.34 kB / 0.753 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.01085, allocations: 4 kB / 0.753 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/0.01087, allocations: 18.52 kB / 0.7531 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.01114, allocations: 240.5 kB / 0.7533 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008565/0.012, allocations: 457.1 kB / 0.7537 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.01205, allocations: 100.3 kB / 0.7538 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.795e-05/0.01211, allocations: 32.64 kB / 0.7538 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.0122, allocations: 84.86 kB / 0.7539 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.0122, allocations: 0 / 0.7539 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.004796/0.01699, allocations: 2.858 MB / 0.7567 GB, free: 7.215 MB / 0.7292 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.884463354945183]