Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001352/0.001352, allocations: 85.45 kB / 21.62 MB, free: 2.836 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.001529/0.001529, allocations: 170.1 kB / 25.05 MB, free: 9.148 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.9358/0.9358, allocations: 177.1 MB / 205.5 MB, free: 5.453 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.934/1.934, allocations: 389.6 MB / 0.6363 GB, free: 12.28 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.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.7761 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.152e-05, allocations: 6.312 kB / 0.7761 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001063/0.001074, allocations: 0.6145 MB / 0.7767 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 2.927e-05/0.001104, allocations: 0 / 0.7767 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.758e-05/0.001121, allocations: 4.594 kB / 0.7768 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.001141, allocations: 0 / 0.7768 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 1.735e-05/0.001159, allocations: 4.625 kB / 0.7768 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 1.931e-05/0.001178, allocations: 1.203 kB / 0.7768 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.161e-05/0.00121, allocations: 1.5 kB / 0.7768 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.87e-05/0.001238, allocations: 11.97 kB / 0.7768 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.001254, allocations: 0 / 0.7768 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.329e-05/0.001268, allocations: 4.656 kB / 0.7768 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.001275, allocations: 0.5938 kB / 0.7768 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.234e-06/0.001278, allocations: 0.5625 kB / 0.7768 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.001286, allocations: 0.6562 kB / 0.7768 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.747e-06/0.001295, allocations: 1.062 kB / 0.7768 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 3.357e-05/0.001328, allocations: 4.656 kB / 0.7768 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-06/0.001329, allocations: 0 / 0.7768 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.02e-07/0.00133, allocations: 1.219 kB / 0.7768 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.465e-06/0.001332, allocations: 0 / 0.7768 GB, free: 4.637 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001444/0.001477, allocations: 209.4 kB / 0.777 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.001504, allocations: 10.28 kB / 0.777 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.649e-05/0.00152, allocations: 4.938 kB / 0.777 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.386e-05/0.001584, allocations: 102.7 kB / 0.7771 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-06/0.00159, allocations: 384 / 0.7771 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-06/0.001595, allocations: 384 / 0.7771 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.16e-05/0.001637, allocations: 31.83 kB / 0.7771 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-06/0.001643, allocations: 0.75 kB / 0.7771 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-06/0.001647, allocations: 4.312 kB / 0.7771 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.001651, allocations: 2.156 kB / 0.7771 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-06/0.001657, allocations: 3.938 kB / 0.7771 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.001782, allocations: 294.9 kB / 0.7774 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.494e-05/0.001827, allocations: 169.2 kB / 0.7776 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.001846, allocations: 84.83 kB / 0.7777 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.00186, allocations: 76.27 kB / 0.7777 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.002129, allocations: 110.4 kB / 0.7778 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.00213, allocations: 3.812 kB / 0.7778 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 3.603e-05/0.002166, allocations: 26.59 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.002206, allocations: 130.6 kB / 0.778 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.203e-05/0.002248, allocations: 98.72 kB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.002256, allocations: 33.69 kB / 0.7781 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.327e-05/0.00228, allocations: 80.14 kB / 0.7782 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.41e-07/0.00228, allocations: 0 / 0.7782 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.002296, allocations: 18.47 kB / 0.7782 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.002355, allocations: 310.8 kB / 0.7785 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-06/0.002357, allocations: 6.875 kB / 0.7785 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-06/0.00236, allocations: 0 / 0.7785 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.523e-05/0.002375, allocations: 75.28 kB / 0.7786 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.002389, allocations: 75.28 kB / 0.7787 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.145e-05/0.002421, allocations: 29.7 kB / 0.7787 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.002443, allocations: 80.38 kB / 0.7788 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.002462, allocations: 87.2 kB / 0.7788 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.002494, allocations: 154.5 kB / 0.779 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.642e-05/0.00251, allocations: 80.22 kB / 0.7791 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.881e-05/0.002589, allocations: 166.5 kB / 0.7792 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.002626, allocations: 75.28 kB / 0.7793 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.002642, allocations: 87.81 kB / 0.7794 GB, free: 1.824 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 (0): * Single equations (assignments): 0 * 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 6.297e-05/0.002705, allocations: 261 kB / 0.7796 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.002737, allocations: 102.3 kB / 0.7797 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.002767, allocations: 108 kB / 0.7798 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.511e-05/0.002803, allocations: 185.1 kB / 0.78 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-05/0.002838, allocations: 181.5 kB / 0.7802 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/0.002872, allocations: 180.2 kB / 0.7804 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.002979, allocations: 317.4 kB / 0.7807 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.003, allocations: 105 kB / 0.7808 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.003024, allocations: 113.5 kB / 0.7809 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-05/0.003058, allocations: 176.8 kB / 0.781 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.003104, allocations: 180.2 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.364e-05/0.003138, allocations: 182.3 kB / 0.7814 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.368e-05/0.003171, allocations: 180.2 kB / 0.7816 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.046e-05/0.003242, allocations: 307.7 kB / 0.7818 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.003268, allocations: 113.8 kB / 0.782 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.003307, allocations: 180.8 kB / 0.7821 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.003347, allocations: 105.9 kB / 0.7822 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.003384, allocations: 184.5 kB / 0.7824 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.003404, allocations: 101 kB / 0.7825 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.083e-05/0.003415, allocations: 14.17 kB / 0.7825 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003415, allocations: 0.875 kB / 0.7825 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001419/0.003557, allocations: 0 / 0.7825 GB, free: 14.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 7.237e-05/0.00363, allocations: 157.5 kB / 0.7827 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 2.674e-05/0.003656, allocations: 7.969 kB / 0.7827 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.003659, allocations: 0 / 0.7827 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.003659, allocations: 1.5 kB / 0.7827 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.003823, allocations: 460.7 kB / 0.7831 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001269/0.00395, allocations: 155 kB / 0.7833 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.554e-05/0.003975, allocations: 53.11 kB / 0.7833 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.242e-06/0.003977, allocations: 0 / 0.7833 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.003995, allocations: 51.36 kB / 0.7834 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.003996, allocations: 0.875 kB / 0.7834 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of Templates: time 0.001117/0.005112, allocations: 174.7 kB / 0.7835 GB, free: 13.36 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.700912405736744]