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.001183/0.001183, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001868/0.001868, allocations: 169 kB / 24.25 MB, free: 304 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.096/1.096, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.6822/0.6822, allocations: 114.9 MB / 376 MB, free: 7.621 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 3.317e-06/3.317e-06, allocations: 0 / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.551e-05, allocations: 3.188 kB / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001541/0.001576, allocations: 0.7815 MB / 482.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002782, allocations: 1.194 MB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.002833, allocations: 6.031 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.002863, allocations: 3.938 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.002939, allocations: 15.09 kB / 483.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.003367, allocations: 136.1 kB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.003537, allocations: 125 kB / 483.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.003644, allocations: 17.39 kB / 483.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.003754, allocations: 66.58 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.003834, allocations: 45.44 kB / 484 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.00386, allocations: 10.81 kB / 484 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.021e-05/0.00392, allocations: 23.31 kB / 484 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.003943, allocations: 14.19 kB / 484 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.003995, allocations: 35.12 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.00415, allocations: 102.4 kB / 484.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.004153, allocations: 0.8125 kB / 484.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.004154, allocations: 1.281 kB / 484.1 MB, free: 10.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.004158, allocations: 0 / 484.1 MB, free: 10.28 MB / 410.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.0004395/0.004598, allocations: 445.2 kB / 484.6 MB, free: 9.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.004638, allocations: 11.19 kB / 484.6 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.004693, allocations: 11.23 kB / 484.6 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.817e-05/0.004761, allocations: 117.7 kB / 484.7 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.004774, allocations: 7.031 kB / 484.7 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.004791, allocations: 4.188 kB / 484.7 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.004938, allocations: 78.42 kB / 484.8 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.004943, allocations: 192 / 484.8 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.004954, allocations: 1.062 kB / 484.8 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.004961, allocations: 3.875 kB / 484.8 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.943e-05/0.005, allocations: 21.2 kB / 484.8 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.005337, allocations: 307.5 kB / 485.1 MB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.798e-05/0.005385, allocations: 28.53 kB / 485.2 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.005415, allocations: 21.52 kB / 485.2 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.005432, allocations: 0.75 kB / 485.2 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.005533, allocations: 76.86 kB / 485.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.005534, allocations: 1.125 kB / 485.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001968/0.005731, allocations: 75.73 kB / 485.3 MB, free: 9.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.005756, allocations: 56.19 kB / 485.4 MB, free: 9.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.006019, allocations: 187.2 kB / 485.6 MB, free: 24.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.006035, allocations: 26.92 kB / 485.6 MB, free: 24.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.006099, allocations: 147.9 kB / 485.7 MB, free: 24.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.006114, allocations: 11.34 kB / 485.7 MB, free: 24.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.006166, allocations: 43.16 kB / 485.8 MB, free: 24.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.006284, allocations: 497.6 kB / 486.3 MB, free: 24.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.006359, allocations: 56.28 kB / 486.3 MB, free: 24.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.006431, allocations: 88.92 kB / 486.4 MB, free: 24.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.006562, allocations: 107.2 kB / 486.5 MB, free: 24.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006564, allocations: 0 / 486.5 MB, free: 24.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002145/0.006778, allocations: 189.1 kB / 486.7 MB, free: 23.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.006808, allocations: 36.41 kB / 486.7 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.006814, allocations: 1.188 kB / 486.7 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.006827, allocations: 1.406 kB / 486.7 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.006916, allocations: 9.781 kB / 486.8 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.006922, allocations: 5.625 kB / 486.8 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.371e-05/0.007016, allocations: 27.55 kB / 486.8 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.007032, allocations: 9.25 kB / 486.8 MB, free: 23.89 MB / 426.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 7.584e-05/0.007108, allocations: 161.9 kB / 487 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.007123, allocations: 16.73 kB / 487 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.007148, allocations: 15.47 kB / 487 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.007151, allocations: 5.578 kB / 487 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.007155, allocations: 0 / 487 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007158, allocations: 0 / 487 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.035e-05/0.007228, allocations: 134.2 kB / 487.1 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007229, allocations: 1.406 kB / 487.1 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.00727, allocations: 12.77 kB / 487.1 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007272, allocations: 1.406 kB / 487.1 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.007279, allocations: 7.875 kB / 487.1 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.007282, allocations: 1.406 kB / 487.1 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.007283, allocations: 0 / 487.1 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.007401, allocations: 108.6 kB / 487.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.007409, allocations: 6.578 kB / 487.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.007424, allocations: 5.312 kB / 487.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.701e-05/0.007451, allocations: 12.7 kB / 487.3 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.00749, allocations: 10.3 kB / 487.3 MB, free: 23.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.007496, allocations: 1.406 kB / 487.3 MB, free: 23.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.891e-05/0.007545, allocations: 135.9 kB / 487.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007545, allocations: 0.6562 kB / 487.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.007703, allocations: 24.09 kB / 487.4 MB, free: 23.31 MB / 426.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.0001319/0.007835, allocations: 101.6 kB / 487.5 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.008023, allocations: 156.7 kB / 487.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008024, allocations: 0 / 487.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.008064, allocations: 19.69 kB / 487.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.008238, allocations: 21.66 kB / 487.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.008553, allocations: 168.8 kB / 487.9 MB, free: 22.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.556e-05/0.008579, allocations: 58.53 kB / 488 MB, free: 22.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.532e-05/0.008604, allocations: 3.75 kB / 488 MB, free: 22.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.008632, allocations: 12.75 kB / 488 MB, free: 22.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.008633, allocations: 0.5625 kB / 488 MB, free: 22.86 MB / 426.7 MB Notification: Performance of Templates: time 0.003656/0.01229, allocations: 1.732 MB / 489.7 MB, free: 22.74 MB / 426.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.710409606108442]