Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.0008041/0.0008041, allocations: 92.7 kB / 20.2 MB, free: 4.227 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.0007895/0.0007895, allocations: 161.3 kB / 23.51 MB, free: 0.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.9053/0.9053, allocations: 177.2 MB / 203.9 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.97/1.97, allocations: 428.5 MB / 0.6727 GB, free: 4.891 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0.875 kB / 0.8771 GB, free: 7.852 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.385e-05, allocations: 2.312 kB / 0.8771 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002855/0.002879, allocations: 1.799 MB / 0.8788 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.004165, allocations: 1.078 MB / 0.8799 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.004251, allocations: 7.938 kB / 0.8799 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.004686, allocations: 188.5 kB / 0.8801 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.005034, allocations: 220.9 kB / 0.8803 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.005329, allocations: 219.5 kB / 0.8805 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.005577, allocations: 267.3 kB / 0.8807 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.005712, allocations: 37.28 kB / 0.8808 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.005905, allocations: 141.3 kB / 0.8809 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.006066, allocations: 159.6 kB / 0.8811 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.006095, allocations: 20 kB / 0.8811 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.006181, allocations: 55.92 kB / 0.8811 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.006259, allocations: 91.75 kB / 0.8812 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.006321, allocations: 61.06 kB / 0.8813 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.006654, allocations: 378.7 kB / 0.8816 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.006658, allocations: 0 / 0.8816 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006659, allocations: 4 kB / 0.8816 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.006664, allocations: 0 / 0.8816 GB, free: 3.188 MB / 0.8386 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.0006664/0.00733, allocations: 0.5547 MB / 0.8822 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.007378, allocations: 11.97 kB / 0.8822 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.007564, allocations: 48.69 kB / 0.8822 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.008026, allocations: 372 kB / 0.8826 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.00804, allocations: 12.31 kB / 0.8826 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.008054, allocations: 4.375 kB / 0.8826 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.008207, allocations: 70.23 kB / 0.8827 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.008218, allocations: 7.938 kB / 0.8827 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.008239, allocations: 4 kB / 0.8827 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.008245, allocations: 0 / 0.8827 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.00834, allocations: 55.84 kB / 0.8827 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.008836, allocations: 404.2 kB / 0.8831 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.008957, allocations: 54.48 kB / 0.8832 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.008996, allocations: 20.91 kB / 0.8832 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.009019, allocations: 0 / 0.8832 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.009043, allocations: 30.56 kB / 0.8832 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.009044, allocations: 4 kB / 0.8832 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000258/0.009302, allocations: 109.4 kB / 0.8833 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.009339, allocations: 51.41 kB / 0.8834 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.009857, allocations: 0.5758 MB / 0.884 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.009871, allocations: 25.7 kB / 0.884 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.00999, allocations: 184 kB / 0.8842 GB, free: 484 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.01002, allocations: 7.906 kB / 0.8842 GB, free: 476 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.01005, allocations: 17.72 kB / 0.8842 GB, free: 452 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005267/0.01057, allocations: 350.8 kB / 0.8845 GB, free: 92 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.402e-05/0.01061, allocations: 15.94 kB / 0.8845 GB, free: 76 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.01063, allocations: 11.98 kB / 0.8845 GB, free: 64 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/0.01069, allocations: 32.84 kB / 0.8846 GB, free: 28 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.0107, allocations: 0 / 0.8846 GB, free: 28 kB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001328/0.01083, allocations: 97.61 kB / 0.8847 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01085, allocations: 4 kB / 0.8847 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01085, allocations: 0 / 0.8847 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.01087, allocations: 0 / 0.8847 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.01093, allocations: 11.98 kB / 0.8847 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01094, allocations: 7.984 kB / 0.8847 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.01097, allocations: 0 / 0.8847 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.01098, allocations: 7.75 kB / 0.8847 GB, free: 15.89 MB / 0.8542 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.0001296/0.01111, allocations: 181.8 kB / 0.8849 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.01115, allocations: 35.77 kB / 0.8849 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.01133, allocations: 96.42 kB / 0.885 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01133, allocations: 0 / 0.885 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.01134, allocations: 7.938 kB / 0.885 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01134, allocations: 0 / 0.885 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.01153, allocations: 221.1 kB / 0.8852 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.01153, allocations: 0 / 0.8852 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.01156, allocations: 8 kB / 0.8852 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01156, allocations: 0 / 0.8852 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.01157, allocations: 0 / 0.8852 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.01157, allocations: 0 / 0.8852 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01157, allocations: 0 / 0.8852 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.01172, allocations: 199.6 kB / 0.8854 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.01177, allocations: 39.84 kB / 0.8854 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.01179, allocations: 4 kB / 0.8855 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.01183, allocations: 7.984 kB / 0.8855 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.01188, allocations: 4 kB / 0.8855 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.01188, allocations: 4 kB / 0.8855 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003365/0.01222, allocations: 435 kB / 0.8859 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01222, allocations: 0 / 0.8859 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001895/0.01241, allocations: 31.89 kB / 0.8859 GB, free: 14.57 MB / 0.8542 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.0007451/0.01315, allocations: 386.2 kB / 0.8863 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.01329, allocations: 27.97 kB / 0.8863 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.01329, allocations: 4 kB / 0.8863 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.01332, allocations: 12 kB / 0.8863 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01362, allocations: 48.8 kB / 0.8864 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/0.01428, allocations: 0.5415 MB / 0.8869 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.01443, allocations: 182.1 kB / 0.8871 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.971e-05/0.01451, allocations: 43.27 kB / 0.8871 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.01456, allocations: 32.48 kB / 0.8871 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of SimCode: time 8.52e-07/0.01456, allocations: 0 / 0.8871 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of Templates: time 0.0053/0.01986, allocations: 2.736 MB / 0.8898 GB, free: 10.74 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=800 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 5.142681369557977]