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.0009193/0.0009193, allocations: 92.7 kB / 20.21 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.000852/0.000852, allocations: 161.3 kB / 23.52 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.9158/0.9158, allocations: 177.2 MB / 203.9 MB, free: 5.598 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.948/1.948, allocations: 428.6 MB / 0.6727 GB, free: 4.898 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.134e-06/2.134e-06, allocations: 0 / 0.8771 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.702e-05, allocations: 2.312 kB / 0.8771 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002949/0.002976, allocations: 1.809 MB / 0.8788 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.004687, allocations: 1.083 MB / 0.8799 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.004793, allocations: 3.938 kB / 0.8799 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.005293, allocations: 179.3 kB / 0.8801 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.00575, allocations: 228 kB / 0.8803 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.006165, allocations: 219.3 kB / 0.8805 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.006484, allocations: 271.3 kB / 0.8807 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.006627, allocations: 32.56 kB / 0.8808 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.006861, allocations: 139.6 kB / 0.8809 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.007058, allocations: 159.7 kB / 0.8811 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.007092, allocations: 24 kB / 0.8811 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.007197, allocations: 55.91 kB / 0.8811 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.007289, allocations: 87.7 kB / 0.8812 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.007358, allocations: 63.77 kB / 0.8813 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.007742, allocations: 378.7 kB / 0.8816 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.007745, allocations: 0 / 0.8816 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.61e-07/0.007746, allocations: 0 / 0.8816 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.007751, allocations: 0 / 0.8816 GB, free: 3.211 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.0006317/0.008383, allocations: 0.5547 MB / 0.8822 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.008415, allocations: 12.03 kB / 0.8822 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.008547, allocations: 52.69 kB / 0.8822 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.009138, allocations: 376 kB / 0.8826 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.009146, allocations: 4.375 kB / 0.8826 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.009157, allocations: 4.375 kB / 0.8826 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.009269, allocations: 74.23 kB / 0.8827 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.009277, allocations: 7.875 kB / 0.8827 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.009286, allocations: 0 / 0.8827 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.00929, allocations: 0 / 0.8827 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.009361, allocations: 43.97 kB / 0.8827 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.009744, allocations: 416.2 kB / 0.8831 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.009834, allocations: 46.5 kB / 0.8832 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.009864, allocations: 16.92 kB / 0.8832 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.009883, allocations: 3.984 kB / 0.8832 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.009899, allocations: 38.56 kB / 0.8832 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.0099, allocations: 0 / 0.8832 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001996/0.0101, allocations: 101.4 kB / 0.8833 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.01012, allocations: 51.41 kB / 0.8834 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.01055, allocations: 0.5797 MB / 0.8839 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.01056, allocations: 25.7 kB / 0.884 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.01065, allocations: 180 kB / 0.8841 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.01067, allocations: 15.84 kB / 0.8842 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.0107, allocations: 13.72 kB / 0.8842 GB, free: 484 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.01078, allocations: 354.7 kB / 0.8845 GB, free: 120 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.01081, allocations: 12 kB / 0.8845 GB, free: 108 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.01083, allocations: 15.98 kB / 0.8845 GB, free: 92 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.121e-05/0.01088, allocations: 32.84 kB / 0.8846 GB, free: 56 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01088, allocations: 4 kB / 0.8846 GB, free: 52 kB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001099/0.01099, allocations: 89.48 kB / 0.8847 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01101, allocations: 4 kB / 0.8847 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01102, allocations: 4 kB / 0.8847 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.01103, allocations: 0 / 0.8847 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.01108, allocations: 11.92 kB / 0.8847 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01109, allocations: 3.984 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.01113, allocations: 4.109 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.01113, allocations: 7.875 kB / 0.8847 GB, free: 15.92 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.0001176/0.01125, allocations: 185.8 kB / 0.8849 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.01129, allocations: 39.75 kB / 0.8849 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.01142, allocations: 96.42 kB / 0.885 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01143, allocations: 0 / 0.885 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01143, allocations: 0 / 0.885 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01143, allocations: 0 / 0.885 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.01159, allocations: 225.1 kB / 0.8852 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01159, allocations: 0 / 0.8852 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.01161, allocations: 4 kB / 0.8852 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01161, allocations: 0 / 0.8852 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.01162, allocations: 7.938 kB / 0.8852 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01162, allocations: 4 kB / 0.8852 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01162, allocations: 384 / 0.8852 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.01174, allocations: 191.2 kB / 0.8854 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.01178, allocations: 43.8 kB / 0.8854 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.0118, allocations: 0 / 0.8854 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.01185, allocations: 7.984 kB / 0.8855 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.01188, allocations: 0 / 0.8855 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.01188, allocations: 0 / 0.8855 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003098/0.01219, allocations: 439.1 kB / 0.8859 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01219, allocations: 4 kB / 0.8859 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001807/0.01237, allocations: 27.89 kB / 0.8859 GB, free: 14.6 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.0005578/0.01293, allocations: 383.6 kB / 0.8863 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.01303, allocations: 47.84 kB / 0.8863 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01303, allocations: 0 / 0.8863 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.01306, allocations: 12 kB / 0.8863 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.0133, allocations: 44.8 kB / 0.8864 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.01383, allocations: 0.5377 MB / 0.8869 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.01395, allocations: 182.1 kB / 0.8871 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.845e-05/0.01402, allocations: 51.2 kB / 0.8871 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.01406, allocations: 32.48 kB / 0.8871 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.01406, allocations: 0 / 0.8871 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.004385/0.01845, allocations: 2.717 MB / 0.8898 GB, free: 10.78 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 gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 4.944787111133337]