Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001338/0.001338, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001391/0.001391, allocations: 169 kB / 24.14 MB, free: 352 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.9834/0.9834, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.7015/0.7015, allocations: 115 MB / 376 MB, free: 7.48 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 428.8 MB, free: 2.734 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.453e-05, allocations: 6.312 kB / 428.8 MB, free: 2.727 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001789/0.001814, allocations: 0.7766 MB / 429.6 MB, free: 1.949 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.002967, allocations: 1.205 MB / 430.8 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.003016, allocations: 4 kB / 430.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.003045, allocations: 7.875 kB / 430.8 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.109e-05/0.003136, allocations: 19.91 kB / 430.8 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.003558, allocations: 131.6 kB / 430.9 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.003711, allocations: 131.7 kB / 431.1 MB, free: 452 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.3e-05/0.003784, allocations: 19.91 kB / 431.1 MB, free: 432 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.003887, allocations: 63.95 kB / 431.1 MB, free: 368 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/0.003966, allocations: 51.86 kB / 431.2 MB, free: 316 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.003987, allocations: 12 kB / 431.2 MB, free: 304 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-05/0.004039, allocations: 16 kB / 431.2 MB, free: 288 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.004062, allocations: 15.92 kB / 431.2 MB, free: 272 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.004102, allocations: 39.95 kB / 431.3 MB, free: 232 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.004239, allocations: 99.69 kB / 431.4 MB, free: 132 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004241, allocations: 0 / 431.4 MB, free: 132 kB / 394.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004242, allocations: 0 / 431.4 MB, free: 132 kB / 394.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.004245, allocations: 0 / 431.4 MB, free: 132 kB / 394.7 MB 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.0003861/0.004631, allocations: 310.4 kB / 431.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.004664, allocations: 19.97 kB / 431.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.004697, allocations: 8.922 kB / 431.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.877e-05/0.004776, allocations: 117.7 kB / 431.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.004787, allocations: 384 / 431.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.004804, allocations: 8.375 kB / 431.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.00491, allocations: 70.92 kB / 431.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004917, allocations: 192 / 431.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.004924, allocations: 384 / 431.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.00493, allocations: 384 / 431.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.004954, allocations: 15.92 kB / 431.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.005183, allocations: 192.1 kB / 432.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/0.005221, allocations: 26.58 kB / 432.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.005238, allocations: 8.859 kB / 432.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.005252, allocations: 8.016 kB / 432.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.528e-05/0.005327, allocations: 63.33 kB / 432.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.005329, allocations: 3.984 kB / 432.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001197/0.005449, allocations: 65.61 kB / 432.3 MB, free: 15.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.005479, allocations: 51.41 kB / 432.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.005554, allocations: 130.7 kB / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.005571, allocations: 25.7 kB / 432.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.005605, allocations: 96.08 kB / 432.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.005621, allocations: 15.89 kB / 432.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.005665, allocations: 33.69 kB / 432.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.005734, allocations: 318.8 kB / 432.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.005784, allocations: 57.62 kB / 433 MB, free: 14.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.00583, allocations: 64.27 kB / 433 MB, free: 14.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.491e-05/0.005895, allocations: 80.23 kB / 433.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005897, allocations: 4 kB / 433.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001252/0.006022, allocations: 161 kB / 433.3 MB, free: 14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.006049, allocations: 37.69 kB / 433.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006053, allocations: 3.938 kB / 433.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.006065, allocations: 4 kB / 433.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.006132, allocations: 12 kB / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.006135, allocations: 0 / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.006217, allocations: 27.91 kB / 433.4 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.006231, allocations: 7.984 kB / 433.4 MB, free: 13.9 MB / 410.7 MB 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.266e-05/0.006294, allocations: 113.9 kB / 433.5 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.006304, allocations: 8 kB / 433.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.006326, allocations: 16.38 kB / 433.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006328, allocations: 3.984 kB / 433.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.00633, allocations: 0 / 433.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006332, allocations: 0 / 433.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.44e-05/0.006397, allocations: 77.88 kB / 433.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006398, allocations: 0 / 433.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.006426, allocations: 11.94 kB / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006428, allocations: 0 / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.006433, allocations: 4.297 kB / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.006434, allocations: 4 kB / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.006436, allocations: 15.88 kB / 433.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.032e-05/0.006517, allocations: 73.12 kB / 433.7 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.006525, allocations: 11.92 kB / 433.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.006535, allocations: 4 kB / 433.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.006556, allocations: 4 kB / 433.7 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.006586, allocations: 11.92 kB / 433.7 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.00659, allocations: 4 kB / 433.7 MB, free: 13.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.755e-05/0.006608, allocations: 21.34 kB / 433.7 MB, free: 13.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006608, allocations: 0 / 433.7 MB, free: 13.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001188/0.006727, allocations: 24 kB / 433.8 MB, free: 13.45 MB / 410.7 MB 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.0001055/0.006832, allocations: 88.34 kB / 433.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.006962, allocations: 133.9 kB / 434 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.006965, allocations: 0 / 434 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.006995, allocations: 32.77 kB / 434 MB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.582e-05/0.007091, allocations: 8 kB / 434 MB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002408/0.007332, allocations: 172.3 kB / 434.2 MB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.687e-05/0.007359, allocations: 55.36 kB / 434.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.007383, allocations: 7.984 kB / 434.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.007467, allocations: 63.36 kB / 434.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007468, allocations: 0 / 434.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of Templates: time 0.003056/0.01052, allocations: 1.741 MB / 436.1 MB, free: 11.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6447290116921067]