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.001223/0.001223, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001804/0.003027, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001242/0.001242, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002486, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9957/0.9957, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09297/1.089, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.955/1.955, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5211/2.476, allocations: 127.1 MB / 0.7432 GB, free: 4.594 MB / 0.7136 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.422e-06/1.422e-06, allocations: 0 / 0.7445 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.162e-05, allocations: 5.125 kB / 0.7445 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00115/0.001161, allocations: 0.8401 MB / 0.7453 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.002182, allocations: 1.195 MB / 0.7465 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.002214, allocations: 7.938 kB / 0.7465 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.002235, allocations: 5.141 kB / 0.7465 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.002274, allocations: 12.94 kB / 0.7465 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.002541, allocations: 132.5 kB / 0.7467 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.002692, allocations: 129.1 kB / 0.7468 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.553e-05/0.002758, allocations: 23.95 kB / 0.7468 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.002859, allocations: 79.38 kB / 0.7469 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.002924, allocations: 35.94 kB / 0.7469 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.002943, allocations: 12 kB / 0.7469 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.954e-05/0.003003, allocations: 27.98 kB / 0.747 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.003018, allocations: 7.938 kB / 0.747 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.003052, allocations: 28.84 kB / 0.747 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003171, allocations: 79.8 kB / 0.7471 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.003183, allocations: 3.938 kB / 0.7471 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003184, allocations: 3.688 kB / 0.7471 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.003199, allocations: 0 / 0.7471 GB, free: 0.6719 MB / 0.7136 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.0005114/0.00371, allocations: 330 kB / 0.7474 GB, free: 324 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.662e-05/0.003737, allocations: 12.03 kB / 0.7474 GB, free: 312 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.003767, allocations: 4.938 kB / 0.7474 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.276e-05/0.00384, allocations: 117.7 kB / 0.7475 GB, free: 164 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.00385, allocations: 4.375 kB / 0.7475 GB, free: 160 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.003864, allocations: 8.375 kB / 0.7475 GB, free: 152 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.003964, allocations: 74.11 kB / 0.7476 GB, free: 72 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.003971, allocations: 4.172 kB / 0.7476 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.003978, allocations: 384 / 0.7476 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.003982, allocations: 384 / 0.7476 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.004008, allocations: 15.88 kB / 0.7476 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.004234, allocations: 180.2 kB / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.553e-05/0.00427, allocations: 22.58 kB / 0.7478 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.004287, allocations: 8.859 kB / 0.7478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.004306, allocations: 3.25 kB / 0.7478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/0.00439, allocations: 71.47 kB / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.004391, allocations: 0 / 0.7479 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000114/0.004506, allocations: 69.61 kB / 0.748 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.004533, allocations: 55.41 kB / 0.748 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.004587, allocations: 125 kB / 0.7481 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.004601, allocations: 25.7 kB / 0.7482 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.004633, allocations: 92.08 kB / 0.7482 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.00465, allocations: 23.67 kB / 0.7483 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.004689, allocations: 29.7 kB / 0.7483 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.157e-05/0.00475, allocations: 318.8 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.004795, allocations: 53.62 kB / 0.7487 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.806e-05/0.004843, allocations: 80.23 kB / 0.7487 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.004902, allocations: 76.25 kB / 0.7488 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004904, allocations: 0 / 0.7488 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001129/0.005017, allocations: 161 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.005045, allocations: 42.42 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.00505, allocations: 7.875 kB / 0.749 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.005058, allocations: 3.984 kB / 0.749 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.005121, allocations: 12 kB / 0.749 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.005123, allocations: 0 / 0.749 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.005201, allocations: 29.78 kB / 0.749 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.005213, allocations: 4 kB / 0.7491 GB, free: 14.45 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 5.279e-05/0.005266, allocations: 117.8 kB / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.005274, allocations: 4 kB / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.005293, allocations: 17.53 kB / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.005294, allocations: 0 / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.005296, allocations: 0 / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.005299, allocations: 4.984 kB / 0.7492 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.654e-05/0.005356, allocations: 81.86 kB / 0.7493 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005356, allocations: 0.5938 kB / 0.7493 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.005385, allocations: 11.94 kB / 0.7493 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.005392, allocations: 8.672 kB / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.005394, allocations: 3.984 kB / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.005399, allocations: 5.5 kB / 0.7493 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005401, allocations: 3.938 kB / 0.7493 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.005402, allocations: 4 kB / 0.7493 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.881e-05/0.005461, allocations: 73.11 kB / 0.7494 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.00547, allocations: 1.25 kB / 0.7494 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.005492, allocations: 8 kB / 0.7494 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.005518, allocations: 17.11 kB / 0.7494 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.005521, allocations: 0 / 0.7494 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.954e-05/0.005541, allocations: 20.84 kB / 0.7494 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005541, allocations: 1.219 kB / 0.7494 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001109/0.005652, allocations: 23.94 kB / 0.7494 GB, free: 14.01 MB / 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 8.343e-05/0.005735, allocations: 93.33 kB / 0.7495 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.005858, allocations: 142.8 kB / 0.7497 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.005863, allocations: 0 / 0.7497 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.005889, allocations: 26.22 kB / 0.7497 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.509e-05/0.005974, allocations: 18.53 kB / 0.7497 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.006354, allocations: 169.5 kB / 0.7499 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.671e-05/0.006381, allocations: 65.06 kB / 0.7499 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.006402, allocations: 4 kB / 0.7499 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.006474, allocations: 67.36 kB / 0.75 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of SimCode: time 3.8e-07/0.006474, allocations: 1.062 kB / 0.75 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.002814/0.009288, allocations: 1.805 MB / 0.7518 GB, free: 11.65 MB / 0.7292 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: 4.934881100431085]