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.002679/0.002679, allocations: 80.45 kB / 19.95 MB, free: 4.598 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.003427/0.003427, allocations: 173.2 kB / 23.24 MB, free: 1.316 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 1.598/1.598, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] 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 3.231/3.231, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] 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 9.11e-07/9.11e-07, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.695e-05, allocations: 6.219 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.00331/0.003337, allocations: 1.798 MB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.005334, allocations: 1.072 MB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.005449, allocations: 7.938 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.00596, allocations: 191 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.006475, allocations: 214.4 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.006954, allocations: 226.6 kB / 1.005 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.007317, allocations: 271.3 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.007459, allocations: 44.55 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.007715, allocations: 135.6 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.007949, allocations: 155.7 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.007991, allocations: 16 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.008117, allocations: 59.91 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.008246, allocations: 99.69 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.008349, allocations: 59.77 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.008827, allocations: 366.8 kB / 1.006 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.00883, allocations: 0 / 1.006 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.42e-07/0.00883, allocations: 0 / 1.006 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.008835, allocations: 0 / 1.006 GB, free: 8.355 MB / 0.9636 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.0008941/0.009729, allocations: 0.5586 MB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.009763, allocations: 8.75 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.009938, allocations: 44.69 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.01055, allocations: 368 kB / 1.007 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.01056, allocations: 8.375 kB / 1.007 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.01057, allocations: 384 / 1.007 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.01075, allocations: 78.22 kB / 1.007 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01077, allocations: 3.938 kB / 1.007 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.01078, allocations: 4 kB / 1.007 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.01078, allocations: 4 kB / 1.007 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.01092, allocations: 43.97 kB / 1.007 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006183/0.01154, allocations: 404.2 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.01168, allocations: 46.67 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.01174, allocations: 24.84 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.01176, allocations: 0 / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.0118, allocations: 38.5 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.0118, allocations: 0 / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003103/0.01211, allocations: 105.4 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.01217, allocations: 59.34 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007758/0.01294, allocations: 0.568 MB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01296, allocations: 25.7 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.01313, allocations: 188 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.01315, allocations: 3.953 kB / 1.008 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.01319, allocations: 17.72 kB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.01339, allocations: 350.7 kB / 1.009 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.01345, allocations: 15.98 kB / 1.009 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.125e-05/0.01349, allocations: 11.94 kB / 1.009 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.01359, allocations: 40.83 kB / 1.009 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.0136, allocations: 0 / 1.009 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001809/0.01378, allocations: 93.44 kB / 1.009 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.01379, allocations: 8 kB / 1.009 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.01379, allocations: 0 / 1.009 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.0138, allocations: 0 / 1.009 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.01387, allocations: 8 kB / 1.009 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01388, allocations: 0 / 1.009 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.01394, allocations: 0 / 1.009 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.01395, allocations: 11.92 kB / 1.009 GB, free: 5.082 MB / 0.9636 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.0002013/0.01415, allocations: 185.8 kB / 1.009 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.01421, allocations: 31.77 kB / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.01444, allocations: 104.4 kB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.01444, allocations: 0 / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.01445, allocations: 0 / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.01445, allocations: 4 kB / 1.009 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.01473, allocations: 217.1 kB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01473, allocations: 0 / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.01479, allocations: 7.984 kB / 1.009 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01479, allocations: 4 kB / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.01479, allocations: 0 / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01479, allocations: 0 / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0148, allocations: 3.938 kB / 1.009 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.01505, allocations: 199.6 kB / 1.009 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.01514, allocations: 47.75 kB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.01517, allocations: 4 kB / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.01526, allocations: 0 / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.01529, allocations: 0 / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.01529, allocations: 4 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005429/0.01584, allocations: 435.1 kB / 1.01 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01584, allocations: 0 / 1.01 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002764/0.01611, allocations: 31.92 kB / 1.01 GB, free: 3.766 MB / 0.9636 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.002395/0.01851, allocations: 378.7 kB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.01866, allocations: 39.84 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01866, allocations: 0 / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.054e-05/0.01872, allocations: 23.98 kB / 1.01 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.01912, allocations: 40.11 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.02001, allocations: 0.5239 MB / 1.011 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.02023, allocations: 178.1 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000115/0.02034, allocations: 55.25 kB / 1.011 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.02041, allocations: 24.5 kB / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.02041, allocations: 0 / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of Templates: time 0.007013/0.02742, allocations: 2.698 MB / 1.014 GB, free: 15.95 MB / 0.9792 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: 8.983619032427669]