Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.0009589/0.0009589, allocations: 84.86 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.001134/0.001134, allocations: 164.5 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.9536/0.9536, allocations: 177.1 MB / 205.5 MB, free: 5.457 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.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.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.7761 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.005e-05, allocations: 5.688 kB / 0.7761 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001748/0.001768, allocations: 1.152 MB / 0.7773 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.003397, allocations: 1.56 MB / 0.7788 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.782e-05/0.003495, allocations: 8.656 kB / 0.7788 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.003628, allocations: 33.45 kB / 0.7788 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.003744, allocations: 67.31 kB / 0.7789 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008108/0.004555, allocations: 471 kB / 0.7793 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005945/0.00515, allocations: 0.5971 MB / 0.7799 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.005371, allocations: 104.5 kB / 0.78 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.005749, allocations: 359.4 kB / 0.7804 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.005955, allocations: 154.7 kB / 0.7805 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.006015, allocations: 48 kB / 0.7806 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.006129, allocations: 59.98 kB / 0.7806 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.006194, allocations: 71.69 kB / 0.7807 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.006312, allocations: 152.3 kB / 0.7808 GB, free: 500 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.006641, allocations: 390.7 kB / 0.7812 GB, free: 108 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006644, allocations: 1.125 kB / 0.7812 GB, free: 108 kB / 0.7292 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006645, allocations: 0 / 0.7812 GB, free: 108 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.006651, allocations: 4 kB / 0.7812 GB, free: 104 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007586/0.007409, allocations: 0.6329 MB / 0.7818 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.007444, allocations: 13.34 kB / 0.7818 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.007514, allocations: 56.88 kB / 0.7819 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.007771, allocations: 233.5 kB / 0.7821 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.0078, allocations: 24.88 kB / 0.7821 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.007845, allocations: 41.17 kB / 0.7822 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.00808, allocations: 313.8 kB / 0.7825 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.008088, allocations: 3.375 kB / 0.7825 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.008104, allocations: 8.375 kB / 0.7825 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.00811, allocations: 4.375 kB / 0.7825 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.008185, allocations: 67.41 kB / 0.7826 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.008921, allocations: 492.6 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.009062, allocations: 108.8 kB / 0.7831 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.00912, allocations: 60.77 kB / 0.7832 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.009129, allocations: 4 kB / 0.7832 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.009332, allocations: 295.6 kB / 0.7835 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=28): time 1.283e-06/0.009334, allocations: 0 / 0.7835 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0002577/0.009592, allocations: 213.9 kB / 0.7837 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.009644, allocations: 114.8 kB / 0.7838 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.009809, allocations: 300.3 kB / 0.7841 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.009842, allocations: 41.7 kB / 0.7841 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.00992, allocations: 161.2 kB / 0.7843 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.009951, allocations: 55.56 kB / 0.7843 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.01007, allocations: 138.7 kB / 0.7845 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.01016, allocations: 346.7 kB / 0.7848 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.01032, allocations: 240.5 kB / 0.785 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.01053, allocations: 399.6 kB / 0.7854 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.01081, allocations: 411 kB / 0.7858 GB, free: 11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.01082, allocations: 11.94 kB / 0.7858 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000445/0.01126, allocations: 0.6178 MB / 0.7864 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.494e-05/0.01133, allocations: 134.8 kB / 0.7865 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.01133, allocations: 8.562 kB / 0.7865 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.01135, allocations: 4 kB / 0.7865 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01147, allocations: 64.44 kB / 0.7866 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01147, allocations: 4.688 kB / 0.7866 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.01173, allocations: 105.6 kB / 0.7867 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.01179, allocations: 63.86 kB / 0.7868 GB, free: 9.918 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2],extIndInt.u[4],conInt2.y,conInt3.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.000126/0.01192, allocations: 179.6 kB / 0.7869 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.01195, allocations: 27.97 kB / 0.787 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.01217, allocations: 212.4 kB / 0.7872 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01217, allocations: 4 kB / 0.7872 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.01217, allocations: 0 / 0.7872 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01218, allocations: 3.984 kB / 0.7872 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.01257, allocations: 479.2 kB / 0.7876 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.01257, allocations: 5.312 kB / 0.7876 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/0.01265, allocations: 31.98 kB / 0.7877 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.01265, allocations: 0 / 0.7877 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01266, allocations: 16.42 kB / 0.7877 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01266, allocations: 1.125 kB / 0.7877 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01266, allocations: 0 / 0.7877 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.01283, allocations: 272.3 kB / 0.788 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.01286, allocations: 28.66 kB / 0.788 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.01288, allocations: 8 kB / 0.788 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.01294, allocations: 11.98 kB / 0.788 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.01298, allocations: 20.67 kB / 0.788 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.01299, allocations: 15.98 kB / 0.788 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.935e-05/0.01306, allocations: 97.31 kB / 0.7881 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01306, allocations: 0 / 0.7881 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00024/0.0133, allocations: 96.72 kB / 0.7882 GB, free: 8.387 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: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002882/0.01359, allocations: 108.9 kB / 0.7883 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.01401, allocations: 0.6131 MB / 0.7889 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.01402, allocations: 4 kB / 0.7889 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.01409, allocations: 94.69 kB / 0.789 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.01435, allocations: 88.31 kB / 0.7891 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.01487, allocations: 499.3 kB / 0.7896 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.164e-05/0.01492, allocations: 97.98 kB / 0.7897 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.161e-05/0.015, allocations: 46.39 kB / 0.7897 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.01523, allocations: 163.3 kB / 0.7899 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01524, allocations: 4 kB / 0.7899 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of Templates: time 0.00819/0.02342, allocations: 6.293 MB / 0.796 GB, free: 0.5391 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.983245666138828]