Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.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.001041/0.001041, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002486, allocations: 449.7 kB / 10.37 MB, free: 328 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.001072/0.001072, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002366, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9283/0.9283, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.029, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.81/1.81, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.514/2.324, allocations: 127.1 MB / 0.7432 GB, free: 4.609 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.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0.6562 kB / 0.7445 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.442e-05, allocations: 3.469 kB / 0.7445 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001716/0.001731, allocations: 1.543 MB / 0.746 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005017/0.002232, allocations: 453 kB / 0.7464 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.002277, allocations: 4 kB / 0.7464 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.002297, allocations: 5.141 kB / 0.7464 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.372e-05/0.002321, allocations: 5.719 kB / 0.7464 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.047e-05/0.002412, allocations: 17.08 kB / 0.7464 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.936e-05/0.002491, allocations: 31.89 kB / 0.7465 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.086e-05/0.002562, allocations: 7.984 kB / 0.7465 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.002665, allocations: 31.36 kB / 0.7465 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.002707, allocations: 9.516 kB / 0.7465 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.00272, allocations: 4 kB / 0.7465 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.113e-05/0.002771, allocations: 8 kB / 0.7465 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.002781, allocations: 1.75 kB / 0.7465 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.384e-05/0.002794, allocations: 9.844 kB / 0.7465 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.965e-05/0.002874, allocations: 18.48 kB / 0.7466 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.002886, allocations: 0 / 0.7466 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.92e-07/0.002887, allocations: 0.5938 kB / 0.7466 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.002897, allocations: 0.5938 kB / 0.7466 GB, free: 1.23 MB / 0.7136 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.0002896/0.003187, allocations: 241.2 kB / 0.7468 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.588e-05/0.003213, allocations: 8.688 kB / 0.7468 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.003333, allocations: 90.59 kB / 0.7469 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.003436, allocations: 122.9 kB / 0.747 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-06/0.003443, allocations: 4.375 kB / 0.747 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-06/0.003448, allocations: 1.031 kB / 0.747 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.113e-05/0.003519, allocations: 52.39 kB / 0.7471 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.003525, allocations: 4.172 kB / 0.7471 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.003532, allocations: 4.375 kB / 0.7471 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.003536, allocations: 3.938 kB / 0.7471 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.003553, allocations: 6.438 kB / 0.7471 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.003704, allocations: 141.1 kB / 0.7472 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.654e-05/0.00374, allocations: 18.64 kB / 0.7472 GB, free: 468 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.003754, allocations: 12.8 kB / 0.7472 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.003767, allocations: 4.047 kB / 0.7472 GB, free: 448 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.003786, allocations: 40.64 kB / 0.7473 GB, free: 400 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.003787, allocations: 0 / 0.7473 GB, free: 400 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.986e-05/0.003887, allocations: 37.64 kB / 0.7473 GB, free: 356 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.003914, allocations: 52.06 kB / 0.7474 GB, free: 292 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.034e-05/0.003964, allocations: 110.7 kB / 0.7475 GB, free: 168 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.003973, allocations: 27.23 kB / 0.7475 GB, free: 136 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.004002, allocations: 88.12 kB / 0.7476 GB, free: 44 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.004018, allocations: 7.938 kB / 0.7476 GB, free: 36 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.00404, allocations: 13.72 kB / 0.7476 GB, free: 16 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.004122, allocations: 318.2 kB / 0.7479 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.004129, allocations: 3.938 kB / 0.7479 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-06/0.004137, allocations: 8 kB / 0.7479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.919e-05/0.004156, allocations: 12.84 kB / 0.7479 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004158, allocations: 0 / 0.7479 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.707e-05/0.004195, allocations: 33.7 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.004206, allocations: 8.078 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.004211, allocations: 0 / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.00422, allocations: 7.922 kB / 0.748 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/0.004274, allocations: 8 kB / 0.748 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.004279, allocations: 7.938 kB / 0.748 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.004291, allocations: 3.938 kB / 0.748 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-06/0.004294, allocations: 0 / 0.748 GB, free: 15.6 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 (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 4.079e-05/0.004335, allocations: 105.8 kB / 0.7481 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.004347, allocations: 8.703 kB / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.004363, allocations: 7.625 kB / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.004365, allocations: 4.625 kB / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.004367, allocations: 0 / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.004369, allocations: 4.531 kB / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.695e-05/0.004436, allocations: 61.91 kB / 0.7482 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.004438, allocations: 5.484 kB / 0.7482 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.004452, allocations: 4 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.004457, allocations: 3.953 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.004459, allocations: 4.781 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-06/0.004462, allocations: 0 / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.004464, allocations: 3.938 kB / 0.7482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004465, allocations: 1.25 kB / 0.7482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.397e-05/0.004529, allocations: 135.5 kB / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.004536, allocations: 0.6875 kB / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.575e-05/0.004562, allocations: 4 kB / 0.7483 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.004584, allocations: 9.328 kB / 0.7483 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.004585, allocations: 0 / 0.7483 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.059e-05/0.004596, allocations: 9.172 kB / 0.7484 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004596, allocations: 4 kB / 0.7484 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000105/0.004701, allocations: 4.531 kB / 0.7484 GB, free: 15.19 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 (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 6.095e-05/0.004762, allocations: 85.34 kB / 0.7484 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.543e-05/0.004807, allocations: 14.45 kB / 0.7485 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.004812, allocations: 0 / 0.7485 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.004824, allocations: 12.8 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.781e-05/0.004922, allocations: 4.5 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.005621, allocations: 142.8 kB / 0.7486 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.548e-05/0.005647, allocations: 51.36 kB / 0.7487 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.55e-05/0.005662, allocations: 11.92 kB / 0.7487 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.005691, allocations: 48 kB / 0.7487 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.005692, allocations: 0 / 0.7487 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.001494/0.007186, allocations: 340.3 kB / 0.749 GB, free: 14.45 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.677894953638315]