Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.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.0009285/0.0009285, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001108/0.001108, allocations: 160.6 kB / 24.96 MB, free: 7.723 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 1.028/1.028, allocations: 177.1 MB / 205.4 MB, free: 5.48 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.915/1.915, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.776 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.589e-05, allocations: 8.047 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001252/0.001268, allocations: 0.7534 MB / 0.7767 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.002597, allocations: 1.321 MB / 0.778 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.002644, allocations: 0 / 0.778 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.002678, allocations: 4.594 kB / 0.778 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.002781, allocations: 25.16 kB / 0.778 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.00337, allocations: 296.4 kB / 0.7783 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.003619, allocations: 267 kB / 0.7786 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.003703, allocations: 19.52 kB / 0.7786 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.003844, allocations: 143.8 kB / 0.7787 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.003979, allocations: 75.81 kB / 0.7788 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.004025, allocations: 20 kB / 0.7788 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.004124, allocations: 35.98 kB / 0.7789 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.004151, allocations: 19.91 kB / 0.7789 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.004217, allocations: 71.94 kB / 0.7789 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.004432, allocations: 191.5 kB / 0.7791 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004434, allocations: 0 / 0.7791 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004435, allocations: 1.125 kB / 0.7791 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.267e-06/0.004438, allocations: 0 / 0.7791 GB, free: 2.176 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.0003913/0.004829, allocations: 385.7 kB / 0.7795 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.004859, allocations: 10.25 kB / 0.7795 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.004901, allocations: 24.91 kB / 0.7795 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.00498, allocations: 122.2 kB / 0.7796 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.004998, allocations: 8.375 kB / 0.7797 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.005019, allocations: 12.88 kB / 0.7797 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.653e-05/0.005095, allocations: 63.48 kB / 0.7797 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.005102, allocations: 192 / 0.7797 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.005109, allocations: 5.281 kB / 0.7797 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005115, allocations: 8.125 kB / 0.7797 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.00513, allocations: 8.531 kB / 0.7797 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.005398, allocations: 208.1 kB / 0.7799 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.667e-05/0.005434, allocations: 27.16 kB / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.005449, allocations: 10.48 kB / 0.78 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.005458, allocations: 0 / 0.78 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.624e-05/0.005554, allocations: 99.44 kB / 0.7801 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.005556, allocations: 0 / 0.7801 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001508/0.005706, allocations: 98.2 kB / 0.7802 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.005737, allocations: 51.41 kB / 0.7802 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.005818, allocations: 143.6 kB / 0.7804 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.00584, allocations: 29.7 kB / 0.7804 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.005889, allocations: 105.8 kB / 0.7805 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.005906, allocations: 19.83 kB / 0.7805 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.005977, allocations: 57.66 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.006068, allocations: 322.8 kB / 0.7809 GB, free: 240 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.006184, allocations: 141.1 kB / 0.781 GB, free: 80 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.006331, allocations: 196.7 kB / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.006463, allocations: 212.3 kB / 0.7814 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006465, allocations: 0 / 0.7814 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002483/0.006713, allocations: 365.1 kB / 0.7817 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.006763, allocations: 109.8 kB / 0.7818 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.006767, allocations: 0 / 0.7818 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.006779, allocations: 5.094 kB / 0.7818 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.73e-05/0.006797, allocations: 7.938 kB / 0.7819 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.006799, allocations: 0 / 0.7819 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.007051, allocations: 61.36 kB / 0.7819 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.007091, allocations: 21.05 kB / 0.7819 GB, free: 14.99 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001032/0.007194, allocations: 131.4 kB / 0.7821 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.007213, allocations: 7.984 kB / 0.7821 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.007239, allocations: 16.38 kB / 0.7821 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.007243, allocations: 4.484 kB / 0.7821 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007244, allocations: 0.5 kB / 0.7821 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007247, allocations: 0.9375 kB / 0.7821 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.056e-05/0.007318, allocations: 93.8 kB / 0.7822 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.007319, allocations: 0 / 0.7822 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-06/0.007328, allocations: 5.047 kB / 0.7822 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.007331, allocations: 4 kB / 0.7822 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-06/0.007335, allocations: 0 / 0.7822 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007336, allocations: 0.7188 kB / 0.7822 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.007338, allocations: 3.938 kB / 0.7822 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.937e-05/0.007417, allocations: 93.72 kB / 0.7823 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.007426, allocations: 11.95 kB / 0.7823 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.007434, allocations: 0.6875 kB / 0.7823 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.457e-05/0.007449, allocations: 9.109 kB / 0.7823 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.007476, allocations: 11.92 kB / 0.7823 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.007481, allocations: 4 kB / 0.7823 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.12e-05/0.007502, allocations: 25.22 kB / 0.7823 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007502, allocations: 0 / 0.7823 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000147/0.007649, allocations: 47.95 kB / 0.7824 GB, free: 14.5 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.711e-05/0.007746, allocations: 95.38 kB / 0.7825 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.008018, allocations: 373.5 kB / 0.7828 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.008022, allocations: 4 kB / 0.7828 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.008051, allocations: 32.77 kB / 0.7829 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.008177, allocations: 28.75 kB / 0.7829 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.008418, allocations: 177.6 kB / 0.7831 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.008451, allocations: 63.34 kB / 0.7831 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.523e-05/0.008476, allocations: 9.141 kB / 0.7831 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.008598, allocations: 92.17 kB / 0.7832 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.008598, allocations: 0 / 0.7832 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.004071/0.01267, allocations: 3.174 MB / 0.7863 GB, free: 10.53 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.068496222607791]