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.002408/0.002408, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002828/0.002828, allocations: 169.2 kB / 23.53 MB, free: 0.8906 MB / 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.576/1.576, allocations: 177.1 MB / 203.9 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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 1.088/1.088, allocations: 115 MB / 375.3 MB, free: 7.543 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.603e-06/1.603e-06, allocations: 0 / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.463e-05, allocations: 3.188 kB / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00161/0.001635, allocations: 0.7704 MB / 481.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.002986, allocations: 1.18 MB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.003045, allocations: 1.031 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.003076, allocations: 8.5 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.003168, allocations: 11.59 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.003618, allocations: 138.2 kB / 482.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.003816, allocations: 133.9 kB / 483.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.003912, allocations: 6.688 kB / 483.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.004049, allocations: 72.14 kB / 483.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.431e-05/0.004143, allocations: 44.12 kB / 483.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.004176, allocations: 11.53 kB / 483.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.819e-05/0.004244, allocations: 26.12 kB / 483.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.004268, allocations: 13.48 kB / 483.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.004327, allocations: 32.55 kB / 483.3 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.004505, allocations: 138.3 kB / 483.4 MB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.004507, allocations: 8.125 kB / 483.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004508, allocations: 0 / 483.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004513, allocations: 0.9062 kB / 483.4 MB, free: 10.27 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.0005187/0.005031, allocations: 444.3 kB / 483.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.005068, allocations: 9.906 kB / 483.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.00513, allocations: 9.625 kB / 483.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.723e-05/0.005207, allocations: 121.1 kB / 484 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.005224, allocations: 3.312 kB / 484 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.005246, allocations: 6.469 kB / 484 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.005432, allocations: 69.91 kB / 484.1 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.005442, allocations: 192 / 484.1 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005452, allocations: 1.5 kB / 484.1 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.005457, allocations: 384 / 484.1 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.00565, allocations: 64.33 kB / 484.1 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.006211, allocations: 318.8 kB / 484.4 MB, free: 25.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.006342, allocations: 46.98 kB / 484.5 MB, free: 25.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.597e-05/0.006438, allocations: 35.58 kB / 484.5 MB, free: 25.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.006462, allocations: 1.5 kB / 484.5 MB, free: 25.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.006642, allocations: 95.77 kB / 484.6 MB, free: 25.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.006643, allocations: 0 / 484.6 MB, free: 25.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.000437/0.00708, allocations: 134.1 kB / 484.8 MB, free: 25.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.007108, allocations: 53.41 kB / 484.8 MB, free: 25.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.007267, allocations: 192 kB / 485 MB, free: 24.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.007289, allocations: 32.05 kB / 485 MB, free: 24.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.007396, allocations: 141.3 kB / 485.2 MB, free: 24.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.007421, allocations: 25.58 kB / 485.2 MB, free: 24.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/0.007511, allocations: 42.3 kB / 485.2 MB, free: 24.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002842/0.007795, allocations: 0.4915 MB / 485.7 MB, free: 24.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.007976, allocations: 86.16 kB / 485.8 MB, free: 24.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.008152, allocations: 117.8 kB / 485.9 MB, free: 24.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.008392, allocations: 142.7 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.008394, allocations: 1.281 kB / 486.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004607/0.008854, allocations: 246.9 kB / 486.3 MB, free: 23.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.008886, allocations: 39.25 kB / 486.3 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.008893, allocations: 1.438 kB / 486.3 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.00891, allocations: 1.312 kB / 486.3 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.931e-05/0.00901, allocations: 12 kB / 486.4 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.009016, allocations: 1.188 kB / 486.4 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.009179, allocations: 24.27 kB / 486.4 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.009201, allocations: 5.906 kB / 486.4 MB, free: 23.81 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 0.0001151/0.009316, allocations: 163.7 kB / 486.5 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.009335, allocations: 20.81 kB / 486.6 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.009363, allocations: 5.75 kB / 486.6 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.009365, allocations: 1.125 kB / 486.6 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.009369, allocations: 0 / 486.6 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009372, allocations: 6.656 kB / 486.6 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.662e-05/0.009459, allocations: 136.4 kB / 486.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.00946, allocations: 0 / 486.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.00953, allocations: 12.39 kB / 486.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.009532, allocations: 4.969 kB / 486.7 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.009542, allocations: 5.219 kB / 486.7 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.009544, allocations: 1.094 kB / 486.7 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009545, allocations: 0.6562 kB / 486.7 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.009801, allocations: 144.5 kB / 486.9 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.009813, allocations: 11.7 kB / 486.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.009832, allocations: 8.625 kB / 486.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.009885, allocations: 3.969 kB / 486.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.009931, allocations: 9.688 kB / 486.9 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.009939, allocations: 2.906 kB / 486.9 MB, free: 23.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.34e-05/0.01003, allocations: 145.6 kB / 487.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01003, allocations: 0 / 487.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002153/0.01025, allocations: 28 kB / 487.1 MB, free: 23.22 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.0001768/0.01042, allocations: 101.5 kB / 487.2 MB, free: 23.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.01081, allocations: 211.6 kB / 487.4 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01081, allocations: 0.8438 kB / 487.4 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.01093, allocations: 49.78 kB / 487.4 MB, free: 22.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01114, allocations: 19.2 kB / 487.5 MB, free: 22.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.01149, allocations: 163.5 kB / 487.6 MB, free: 22.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.492e-05/0.01154, allocations: 78.91 kB / 487.7 MB, free: 22.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.437e-05/0.01157, allocations: 3.469 kB / 487.7 MB, free: 22.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.0116, allocations: 13.12 kB / 487.7 MB, free: 22.75 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0116, allocations: 0 / 487.7 MB, free: 22.75 MB / 426.7 MB Notification: Performance of Templates: time 0.004754/0.01636, allocations: 1.731 MB / 489.4 MB, free: 22.61 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: 5.557463024044409]