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.001001/0.001001, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.0009731/0.0009731, allocations: 169.3 kB / 24.25 MB, free: 208 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 0.9489/0.9489, allocations: 177.2 MB / 204.7 MB, free: 5.43 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.923/1.923, allocations: 389.6 MB / 0.6355 GB, free: 12.26 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 1.533e-06/1.533e-06, allocations: 0 / 0.7754 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.558e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001405/0.001421, allocations: 0.829 MB / 0.7763 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.002666, allocations: 1.196 MB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.002717, allocations: 0 / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.002749, allocations: 3.938 kB / 0.7774 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.074e-05/0.002829, allocations: 16.75 kB / 0.7774 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.003201, allocations: 135 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.003356, allocations: 136.8 kB / 0.7777 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.301e-05/0.003429, allocations: 7.984 kB / 0.7777 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.003532, allocations: 71.92 kB / 0.7778 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.003606, allocations: 43.88 kB / 0.7778 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.003628, allocations: 8 kB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.789e-05/0.003696, allocations: 28.61 kB / 0.7779 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.003718, allocations: 15.92 kB / 0.7779 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.003755, allocations: 28.67 kB / 0.7779 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.003888, allocations: 113.4 kB / 0.778 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003889, allocations: 0 / 0.778 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.71e-07/0.00389, allocations: 0 / 0.778 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003894, allocations: 0 / 0.778 GB, free: 2.586 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.000371/0.004265, allocations: 311.2 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.0043, allocations: 9.344 kB / 0.7783 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.004331, allocations: 8.938 kB / 0.7783 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.771e-05/0.004408, allocations: 120.7 kB / 0.7784 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.004418, allocations: 5.062 kB / 0.7784 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.004436, allocations: 8.375 kB / 0.7784 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.004543, allocations: 81.94 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00455, allocations: 192 / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.004557, allocations: 384 / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004562, allocations: 384 / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.343e-05/0.004586, allocations: 11.94 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.004815, allocations: 180.2 kB / 0.7787 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.362e-05/0.004858, allocations: 34.5 kB / 0.7787 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.004877, allocations: 11.61 kB / 0.7788 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.004894, allocations: 0 / 0.7788 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.134e-05/0.004976, allocations: 59.47 kB / 0.7788 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.004977, allocations: 0 / 0.7788 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001217/0.005098, allocations: 69.55 kB / 0.7789 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.00513, allocations: 55.41 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.348e-05/0.005193, allocations: 122.7 kB / 0.779 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.00521, allocations: 35.58 kB / 0.7791 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.005245, allocations: 92.03 kB / 0.7792 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.005261, allocations: 15.89 kB / 0.7792 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.005304, allocations: 33.67 kB / 0.7792 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.005376, allocations: 314.8 kB / 0.7795 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.005426, allocations: 58.17 kB / 0.7796 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.00548, allocations: 77.36 kB / 0.7796 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.03e-05/0.00555, allocations: 80.19 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005552, allocations: 0.8125 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000121/0.005673, allocations: 161.5 kB / 0.7799 GB, free: 480 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.005696, allocations: 38.62 kB / 0.7799 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.005702, allocations: 3.938 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.005711, allocations: 0 / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.005776, allocations: 8.875 kB / 0.7799 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.00578, allocations: 4.875 kB / 0.7799 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.883e-05/0.005859, allocations: 29.41 kB / 0.78 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.005872, allocations: 8 kB / 0.78 GB, free: 384 kB / 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 6.292e-05/0.005935, allocations: 121.8 kB / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.005943, allocations: 4.656 kB / 0.7801 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.005967, allocations: 12.38 kB / 0.7801 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005969, allocations: 4.812 kB / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.005971, allocations: 0 / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.005976, allocations: 4.891 kB / 0.7801 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.501e-05/0.006041, allocations: 77.88 kB / 0.7802 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006043, allocations: 0.875 kB / 0.7802 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.006071, allocations: 8 kB / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-07/0.006072, allocations: 4.656 kB / 0.7802 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.006079, allocations: 3.984 kB / 0.7802 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00608, allocations: 0.5938 kB / 0.7802 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.006082, allocations: 3.938 kB / 0.7802 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.577e-05/0.006147, allocations: 86.86 kB / 0.7803 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.006157, allocations: 11.88 kB / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.006166, allocations: 0 / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/0.006198, allocations: 4.047 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.006226, allocations: 16.56 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.006229, allocations: 0 / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.812e-05/0.006248, allocations: 27.92 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006248, allocations: 0 / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000114/0.006362, allocations: 20 kB / 0.7804 GB, free: 15.93 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: 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 9.076e-05/0.006452, allocations: 87.45 kB / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.006901, allocations: 142.8 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.006905, allocations: 5.094 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.006933, allocations: 16.84 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.604e-05/0.007029, allocations: 17.16 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.007268, allocations: 173.9 kB / 0.7808 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.007298, allocations: 55.36 kB / 0.7808 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.007324, allocations: 9.891 kB / 0.7808 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.007401, allocations: 71.3 kB / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.007402, allocations: 0 / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of Templates: time 0.00309/0.01049, allocations: 1.742 MB / 0.7826 GB, free: 13.66 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.033121805638075]