Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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.0009228/0.0009228, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001016/0.001016, allocations: 170.3 kB / 25.18 MB, free: 8.324 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.8998/0.8998, allocations: 177.2 MB / 205.6 MB, free: 4 MB / 186.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.928/1.928, allocations: 389.6 MB / 0.6364 GB, free: 13.29 MB / 0.6042 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.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.3e-05, allocations: 9.828 kB / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.005038/0.005061, allocations: 1.013 MB / 0.7766 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.007066, allocations: 1.633 MB / 0.7781 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.007168, allocations: 7.938 kB / 0.7782 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.007216, allocations: 11.81 kB / 0.7782 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.007331, allocations: 35.66 kB / 0.7782 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003567/0.0109, allocations: 215.4 kB / 0.7784 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.01121, allocations: 299.4 kB / 0.7787 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.01135, allocations: 63.5 kB / 0.7788 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.01167, allocations: 195.6 kB / 0.7789 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.0118, allocations: 95.73 kB / 0.779 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.01184, allocations: 31.94 kB / 0.7791 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.01194, allocations: 51.97 kB / 0.7791 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.01198, allocations: 55.88 kB / 0.7792 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.01208, allocations: 91.8 kB / 0.7792 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.01233, allocations: 223.3 kB / 0.7795 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01234, allocations: 0 / 0.7795 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/0.01234, allocations: 0 / 0.7795 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.01234, allocations: 0 / 0.7795 GB, free: 10.55 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006072/0.01295, allocations: 449.8 kB / 0.7799 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.01298, allocations: 8.031 kB / 0.7799 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.01313, allocations: 52.89 kB / 0.7799 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.01336, allocations: 165.5 kB / 0.7801 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003052/0.01641, allocations: 20.64 kB / 0.7801 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.01645, allocations: 28.38 kB / 0.7802 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.01674, allocations: 177 kB / 0.7803 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01675, allocations: 192 / 0.7803 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.01677, allocations: 12.36 kB / 0.7803 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.01678, allocations: 11.88 kB / 0.7803 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.01694, allocations: 92.95 kB / 0.7804 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.01753, allocations: 343.7 kB / 0.7808 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.01769, allocations: 82.53 kB / 0.7808 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.01776, allocations: 36.84 kB / 0.7809 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.01778, allocations: 4 kB / 0.7809 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/0.01834, allocations: 208.9 kB / 0.7811 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.923e-06/0.01834, allocations: 0 / 0.7811 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0003218/0.01866, allocations: 192.4 kB / 0.7813 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.01871, allocations: 59.34 kB / 0.7813 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.884e-05/0.0188, allocations: 158.3 kB / 0.7815 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.01884, allocations: 41.7 kB / 0.7815 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.0189, allocations: 109 kB / 0.7816 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.01896, allocations: 79.42 kB / 0.7817 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.01905, allocations: 77.44 kB / 0.7818 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01916, allocations: 338.8 kB / 0.7821 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.01926, allocations: 77.67 kB / 0.7822 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/0.02239, allocations: 116.5 kB / 0.7823 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.02255, allocations: 152.9 kB / 0.7824 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.02255, allocations: 0 / 0.7824 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002714/0.02282, allocations: 249.7 kB / 0.7827 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.02285, allocations: 37.69 kB / 0.7827 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.02286, allocations: 64 / 0.7827 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.02287, allocations: 4 kB / 0.7827 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.02298, allocations: 39.92 kB / 0.7827 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.02299, allocations: 11.88 kB / 0.7827 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.02311, allocations: 43.86 kB / 0.7828 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.02314, allocations: 11.98 kB / 0.7828 GB, free: 6.91 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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.000111/0.02325, allocations: 149.8 kB / 0.7829 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.02329, allocations: 27.97 kB / 0.783 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.02332, allocations: 17.97 kB / 0.783 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.02332, allocations: 4 kB / 0.783 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02333, allocations: 0 / 0.783 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02333, allocations: 7.922 kB / 0.783 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.02369, allocations: 358.8 kB / 0.7833 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.02369, allocations: 0 / 0.7833 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.02373, allocations: 19.92 kB / 0.7834 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.02374, allocations: 4 kB / 0.7834 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.02375, allocations: 7.984 kB / 0.7834 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.02375, allocations: 0 / 0.7834 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.02376, allocations: 7.938 kB / 0.7834 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.02396, allocations: 243.4 kB / 0.7836 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.02398, allocations: 23.8 kB / 0.7836 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.02402, allocations: 23.98 kB / 0.7837 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.02411, allocations: 11.98 kB / 0.7837 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.02416, allocations: 31.83 kB / 0.7837 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.02419, allocations: 19.97 kB / 0.7837 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.86e-05/0.02422, allocations: 28.83 kB / 0.7837 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02422, allocations: 0 / 0.7837 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002397/0.02446, allocations: 64 kB / 0.7838 GB, free: 5.828 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse) * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000147/0.02461, allocations: 114.3 kB / 0.7839 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.02488, allocations: 250.4 kB / 0.7842 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.02489, allocations: 0 / 0.7842 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.02499, allocations: 85.31 kB / 0.7842 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.02677, allocations: 35.97 kB / 0.7843 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.02741, allocations: 367.5 kB / 0.7846 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.862e-05/0.0275, allocations: 116.6 kB / 0.7847 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.02763, allocations: 87.36 kB / 0.7848 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of SimCode: time 1.132e-06/0.02763, allocations: 0 / 0.7848 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.003442/0.03107, allocations: 2.826 MB / 0.7876 GB, free: 1.883 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.32370609883219]