Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.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.0009562/0.0009562, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001137/0.001137, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 1.038/1.038, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.883/1.883, allocations: 389.6 MB / 0.6354 GB, free: 12.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.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.99e-05, allocations: 7.156 kB / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002542/0.002572, allocations: 0.7879 MB / 0.776 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.004327, allocations: 1.201 MB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.004386, allocations: 1.406 kB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.004421, allocations: 3.938 kB / 0.7772 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.004524, allocations: 21.48 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.005056, allocations: 134.4 kB / 0.7773 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.00528, allocations: 126.6 kB / 0.7774 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.005369, allocations: 19.95 kB / 0.7775 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.005525, allocations: 71.89 kB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.008671, allocations: 47.8 kB / 0.7776 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.008709, allocations: 14.44 kB / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.008791, allocations: 20 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.00882, allocations: 11.98 kB / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.008879, allocations: 39.89 kB / 0.7777 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.009074, allocations: 99.69 kB / 0.7778 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.009077, allocations: 0 / 0.7778 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.342e-06/0.009079, allocations: 1 kB / 0.7778 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.009084, allocations: 0 / 0.7778 GB, free: 2.797 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005102/0.009594, allocations: 311.2 kB / 0.7781 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.009637, allocations: 13.34 kB / 0.7781 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.009682, allocations: 11.64 kB / 0.7781 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.009782, allocations: 128.4 kB / 0.7782 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.009797, allocations: 8.375 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.009819, allocations: 4.375 kB / 0.7782 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.00997, allocations: 70.92 kB / 0.7783 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.009979, allocations: 192 / 0.7783 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.009988, allocations: 4.375 kB / 0.7783 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.009994, allocations: 3.125 kB / 0.7783 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.01003, allocations: 15.92 kB / 0.7783 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.01034, allocations: 184.1 kB / 0.7785 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/0.01039, allocations: 22.58 kB / 0.7785 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.01042, allocations: 12.86 kB / 0.7785 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.01045, allocations: 0 / 0.7785 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.01055, allocations: 65.66 kB / 0.7786 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.01055, allocations: 0 / 0.7786 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001611/0.01071, allocations: 69.61 kB / 0.7786 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.01075, allocations: 51.41 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.01083, allocations: 126.7 kB / 0.7788 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.01085, allocations: 25.7 kB / 0.7788 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.0109, allocations: 96.7 kB / 0.7789 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.01092, allocations: 15.89 kB / 0.7789 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.01099, allocations: 34.38 kB / 0.779 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.01107, allocations: 314.8 kB / 0.7793 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.01114, allocations: 54.16 kB / 0.7793 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.01121, allocations: 77.12 kB / 0.7794 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.01131, allocations: 80.89 kB / 0.7795 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01131, allocations: 4 kB / 0.7795 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001878/0.0115, allocations: 154.3 kB / 0.7796 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.01153, allocations: 37.69 kB / 0.7797 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01154, allocations: 5.375 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.01156, allocations: 4 kB / 0.7797 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.01164, allocations: 11.94 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.01165, allocations: 0.6562 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.01177, allocations: 32.42 kB / 0.7797 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.01179, allocations: 13.7 kB / 0.7797 GB, free: 0.5742 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 7.72e-05/0.01186, allocations: 109.8 kB / 0.7798 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.01188, allocations: 4 kB / 0.7798 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.0119, allocations: 16.38 kB / 0.7799 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01191, allocations: 0.8125 kB / 0.7799 GB, free: 452 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01191, allocations: 3.984 kB / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01191, allocations: 0.5 kB / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.633e-05/0.01201, allocations: 83.16 kB / 0.7799 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01201, allocations: 0 / 0.7799 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.01206, allocations: 8.312 kB / 0.7799 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01206, allocations: 3.938 kB / 0.7799 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.01207, allocations: 4.859 kB / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01207, allocations: 8 kB / 0.78 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01208, allocations: 4.562 kB / 0.78 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.01218, allocations: 73.11 kB / 0.78 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.01219, allocations: 8.625 kB / 0.78 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.01221, allocations: 9.75 kB / 0.7801 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.01224, allocations: 4 kB / 0.7801 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.01228, allocations: 7.922 kB / 0.7801 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.01229, allocations: 8 kB / 0.7801 GB, free: 192 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.01231, allocations: 16.84 kB / 0.7801 GB, free: 172 kB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01231, allocations: 0.5938 kB / 0.7801 GB, free: 172 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000258/0.01257, allocations: 21 kB / 0.7801 GB, free: 152 kB / 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001625/0.01273, allocations: 84.88 kB / 0.7802 GB, free: 56 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.01295, allocations: 147 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.01295, allocations: 0 / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.239e-05/0.01299, allocations: 20.8 kB / 0.7803 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.01313, allocations: 17.48 kB / 0.7804 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.01345, allocations: 161 kB / 0.7805 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.941e-05/0.01349, allocations: 60.47 kB / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.66e-05/0.01353, allocations: 5.75 kB / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.01364, allocations: 75.34 kB / 0.7807 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.01364, allocations: 0 / 0.7807 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.004642/0.01829, allocations: 1.743 MB / 0.7824 GB, free: 13.88 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.023571070749313]