Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.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.001123/0.001123, allocations: 88.7 kB / 20.2 MB, free: 4.23 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.001267/0.001267, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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.9208/0.9208, allocations: 177.2 MB / 203.9 MB, free: 5.586 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 2.016/2.016, allocations: 428.5 MB / 0.6727 GB, free: 4.906 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.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.877 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.167e-05, allocations: 7.016 kB / 0.8771 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.002585/0.002616, allocations: 1.468 MB / 0.8785 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000669/0.003285, allocations: 448.8 kB / 0.8789 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.003341, allocations: 0.6562 kB / 0.8789 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.003366, allocations: 3.938 kB / 0.8789 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.003405, allocations: 1.969 kB / 0.8789 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.003616, allocations: 28.5 kB / 0.879 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.792e-05/0.003714, allocations: 28.97 kB / 0.879 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.003807, allocations: 3.984 kB / 0.879 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.00393, allocations: 24.69 kB / 0.879 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.003974, allocations: 4 kB / 0.879 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.00399, allocations: 1.656 kB / 0.879 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.753e-05/0.004037, allocations: 11.98 kB / 0.879 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.004047, allocations: 3.938 kB / 0.879 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.004068, allocations: 8 kB / 0.879 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.00418, allocations: 33.17 kB / 0.8791 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.004183, allocations: 3.938 kB / 0.8791 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004184, allocations: 0 / 0.8791 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.004189, allocations: 0 / 0.8791 GB, free: 5.863 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003565/0.004546, allocations: 266.3 kB / 0.8793 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.00459, allocations: 12.03 kB / 0.8793 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.004747, allocations: 16.88 kB / 0.8794 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.004936, allocations: 117.7 kB / 0.8795 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.004945, allocations: 384 / 0.8795 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.004957, allocations: 4.375 kB / 0.8795 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.005077, allocations: 46.23 kB / 0.8795 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.005087, allocations: 192 / 0.8795 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.005099, allocations: 384 / 0.8795 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.005105, allocations: 7.938 kB / 0.8795 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.773e-05/0.005163, allocations: 23.97 kB / 0.8795 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.005432, allocations: 192.5 kB / 0.8797 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.08e-05/0.005503, allocations: 26.61 kB / 0.8798 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.005537, allocations: 16.92 kB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.005552, allocations: 3.984 kB / 0.8798 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.005573, allocations: 38.5 kB / 0.8798 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/0.005575, allocations: 4 kB / 0.8798 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002073/0.005783, allocations: 61.62 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.005815, allocations: 51.41 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.241e-05/0.005898, allocations: 105.8 kB / 0.88 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.005911, allocations: 25.7 kB / 0.88 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.00596, allocations: 92.12 kB / 0.8801 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.005983, allocations: 7.891 kB / 0.8801 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.006012, allocations: 13.72 kB / 0.8802 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.006122, allocations: 314.8 kB / 0.8805 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.00616, allocations: 12.11 kB / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.006181, allocations: 12 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.542e-05/0.006236, allocations: 24.84 kB / 0.8805 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.006239, allocations: 3.938 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.029e-05/0.006329, allocations: 53.64 kB / 0.8806 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.00635, allocations: 7.938 kB / 0.8806 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.006358, allocations: 7.922 kB / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.006374, allocations: 96 / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.006452, allocations: 8 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.006461, allocations: 4 kB / 0.8806 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.006481, allocations: 4 kB / 0.8806 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.006488, allocations: 0 / 0.8806 GB, free: 4.137 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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 8.342e-05/0.006572, allocations: 113.8 kB / 0.8807 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.00659, allocations: 3.938 kB / 0.8807 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.006618, allocations: 11.62 kB / 0.8807 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.006621, allocations: 0 / 0.8807 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.006628, allocations: 0 / 0.8807 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.006633, allocations: 0 / 0.8807 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.00675, allocations: 113.3 kB / 0.8808 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006751, allocations: 0 / 0.8808 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.006781, allocations: 7.938 kB / 0.8808 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006784, allocations: 0 / 0.8808 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.006795, allocations: 7.938 kB / 0.8808 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006796, allocations: 0 / 0.8808 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.006797, allocations: 0 / 0.8808 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.006937, allocations: 147.5 kB / 0.881 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.006947, allocations: 4 kB / 0.881 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.006961, allocations: 11.97 kB / 0.881 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.302e-05/0.006994, allocations: 0 / 0.881 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.007042, allocations: 7.984 kB / 0.881 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.007046, allocations: 0 / 0.881 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.007084, allocations: 79.28 kB / 0.8811 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007084, allocations: 0 / 0.8811 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001543/0.007238, allocations: 8 kB / 0.8811 GB, free: 3.578 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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.0001404/0.007379, allocations: 101.6 kB / 0.8812 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.007517, allocations: 31.92 kB / 0.8812 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.007519, allocations: 0 / 0.8812 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.221e-05/0.007541, allocations: 4 kB / 0.8812 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.007748, allocations: 9.25 kB / 0.8812 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.008125, allocations: 124.7 kB / 0.8813 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.427e-05/0.008189, allocations: 63.3 kB / 0.8814 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.008219, allocations: 3.984 kB / 0.8814 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.00825, allocations: 12.56 kB / 0.8814 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of SimCode: time 1.232e-06/0.008252, allocations: 4 kB / 0.8814 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of Templates: time 0.002517/0.01077, allocations: 331.9 kB / 0.8817 GB, free: 2.891 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=800 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 5.192119529470801]