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.001055/0.001055, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001294/0.001294, allocations: 169 kB / 24.14 MB, free: 360 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.092/1.092, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.6167/0.6167, allocations: 115 MB / 376 MB, free: 7.461 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 1.833e-06/1.833e-06, allocations: 0 / 428.8 MB, free: 2.656 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.462e-05, allocations: 2.312 kB / 428.8 MB, free: 2.652 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00165/0.001675, allocations: 0.816 MB / 429.7 MB, free: 1.836 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.003042, allocations: 1.197 MB / 430.8 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.003089, allocations: 0 / 430.8 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.003123, allocations: 7.922 kB / 430.9 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.092e-05/0.003204, allocations: 19.86 kB / 430.9 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.003596, allocations: 131.6 kB / 431 MB, free: 480 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.00376, allocations: 135.7 kB / 431.1 MB, free: 344 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.003839, allocations: 11.98 kB / 431.1 MB, free: 332 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.003955, allocations: 71.88 kB / 431.2 MB, free: 260 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.004034, allocations: 39.94 kB / 431.3 MB, free: 220 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.004057, allocations: 12 kB / 431.3 MB, free: 208 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.916e-05/0.004137, allocations: 19.98 kB / 431.3 MB, free: 188 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.004161, allocations: 23.84 kB / 431.3 MB, free: 164 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.004199, allocations: 31.98 kB / 431.3 MB, free: 132 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.004336, allocations: 103.7 kB / 431.4 MB, free: 28 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004338, allocations: 0 / 431.4 MB, free: 28 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004339, allocations: 4 kB / 431.4 MB, free: 24 kB / 394.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004343, allocations: 0 / 431.4 MB, free: 24 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.0004074/0.004751, allocations: 310.4 kB / 431.8 MB, free: 15.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.004785, allocations: 12.03 kB / 431.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.00482, allocations: 12.92 kB / 431.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.405e-05/0.004905, allocations: 121.7 kB / 431.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004916, allocations: 8.359 kB / 431.9 MB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.00493, allocations: 12.31 kB / 431.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.005046, allocations: 66.92 kB / 432 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.005053, allocations: 192 / 432 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.005061, allocations: 8.375 kB / 432 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.005067, allocations: 4.375 kB / 432 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.005092, allocations: 7.938 kB / 432 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.005359, allocations: 184.1 kB / 432.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/0.005403, allocations: 26.56 kB / 432.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.005422, allocations: 8.859 kB / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.005437, allocations: 0 / 432.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.862e-05/0.005535, allocations: 67.53 kB / 432.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.005536, allocations: 4 kB / 432.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001449/0.005681, allocations: 69.55 kB / 432.4 MB, free: 15.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.005713, allocations: 51.41 kB / 432.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.005794, allocations: 126.7 kB / 432.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.005814, allocations: 25.7 kB / 432.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.005859, allocations: 100.1 kB / 432.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.005882, allocations: 15.89 kB / 432.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.005927, allocations: 25.7 kB / 432.7 MB, free: 14.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.006012, allocations: 322.8 kB / 433 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.006064, allocations: 49.69 kB / 433.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.006119, allocations: 68.2 kB / 433.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.679e-05/0.006196, allocations: 96.28 kB / 433.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006197, allocations: 0 / 433.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001351/0.006333, allocations: 145 kB / 433.4 MB, free: 13.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.006366, allocations: 41.69 kB / 433.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.006372, allocations: 3.938 kB / 433.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.006383, allocations: 4 kB / 433.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.006454, allocations: 15.92 kB / 433.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.006458, allocations: 0 / 433.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.006541, allocations: 35.97 kB / 433.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.006553, allocations: 0 / 433.5 MB, free: 13.79 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.337e-05/0.006616, allocations: 117.8 kB / 433.6 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.006626, allocations: 7.984 kB / 433.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.006651, allocations: 12.38 kB / 433.6 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006652, allocations: 3.938 kB / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.006654, allocations: 0 / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.006658, allocations: 4.312 kB / 433.6 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.006e-05/0.006728, allocations: 77.86 kB / 433.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.00673, allocations: 4 kB / 433.7 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.006762, allocations: 15.98 kB / 433.7 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006763, allocations: 4 kB / 433.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.006768, allocations: 0 / 433.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006769, allocations: 0 / 433.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.006773, allocations: 7.875 kB / 433.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.013e-05/0.006853, allocations: 81.09 kB / 433.8 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.006863, allocations: 7.953 kB / 433.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.006873, allocations: 0 / 433.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.362e-05/0.006897, allocations: 7.984 kB / 433.8 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.006936, allocations: 15.92 kB / 433.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.00694, allocations: 4 kB / 433.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.679e-05/0.006957, allocations: 16.84 kB / 433.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006957, allocations: 0 / 433.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001204/0.007077, allocations: 24 kB / 433.9 MB, free: 13.34 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.0002529/0.00733, allocations: 80.36 kB / 433.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.007471, allocations: 145.9 kB / 434.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.007474, allocations: 0 / 434.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-05/0.007507, allocations: 24.78 kB / 434.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001045/0.007611, allocations: 20.05 kB / 434.1 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.007879, allocations: 160.3 kB / 434.3 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.79e-05/0.007917, allocations: 59.34 kB / 434.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.919e-05/0.007946, allocations: 4 kB / 434.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.008033, allocations: 71.34 kB / 434.4 MB, free: 12.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.008034, allocations: 4 kB / 434.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of Templates: time 0.00327/0.0113, allocations: 1.743 MB / 436.2 MB, free: 10.97 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5266866171732545]