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.0009833/0.0009833, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001054/0.001054, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.9931/0.9931, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.6588/0.6588, allocations: 114.9 MB / 375.7 MB, free: 7.645 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.874e-06/1.874e-06, allocations: 0 / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.804e-05, allocations: 4.984 kB / 481.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001345/0.001373, allocations: 0.7673 MB / 482.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.002574, allocations: 1.203 MB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.002623, allocations: 3.125 kB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.002656, allocations: 9.438 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.002739, allocations: 12.91 kB / 483.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.003413, allocations: 134.7 kB / 483.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.003602, allocations: 133.6 kB / 483.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.003729, allocations: 10.38 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.003873, allocations: 71.42 kB / 483.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.003976, allocations: 41.66 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.004008, allocations: 12.41 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.004076, allocations: 21.48 kB / 484 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.004101, allocations: 19.12 kB / 484 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.004156, allocations: 31.39 kB / 484 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.004327, allocations: 102.6 kB / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00433, allocations: 0 / 484.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004331, allocations: 6.531 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004334, allocations: 1.156 kB / 484.2 MB, free: 10.22 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.0004634/0.004798, allocations: 444.1 kB / 484.6 MB, free: 9.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.004848, allocations: 9.594 kB / 484.6 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.004904, allocations: 12.42 kB / 484.6 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.185e-05/0.004976, allocations: 116.9 kB / 484.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.004989, allocations: 3.375 kB / 484.7 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.00501, allocations: 11.31 kB / 484.7 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.005148, allocations: 73.59 kB / 484.8 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005156, allocations: 1.312 kB / 484.8 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.005166, allocations: 1.781 kB / 484.8 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005174, allocations: 1.469 kB / 484.8 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.071e-05/0.005214, allocations: 18.77 kB / 484.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.005527, allocations: 307.7 kB / 485.1 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.005573, allocations: 36.38 kB / 485.2 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.005599, allocations: 15.88 kB / 485.2 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.005619, allocations: 2.156 kB / 485.2 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.367e-05/0.005703, allocations: 75.92 kB / 485.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.005704, allocations: 2.562 kB / 485.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001866/0.00589, allocations: 77.36 kB / 485.3 MB, free: 9.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.005912, allocations: 52.81 kB / 485.4 MB, free: 9.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.00598, allocations: 180.1 kB / 485.6 MB, free: 8.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.005994, allocations: 31.86 kB / 485.6 MB, free: 8.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.006194, allocations: 146.6 kB / 485.7 MB, free: 24.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.00621, allocations: 14.5 kB / 485.8 MB, free: 24.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.006257, allocations: 42.06 kB / 485.8 MB, free: 24.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.00636, allocations: 0.4905 MB / 486.3 MB, free: 24.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.006432, allocations: 57.27 kB / 486.3 MB, free: 24.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.0065, allocations: 85.84 kB / 486.4 MB, free: 24.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.006583, allocations: 98.48 kB / 486.5 MB, free: 24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006585, allocations: 0 / 486.5 MB, free: 24 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002024/0.006787, allocations: 197.1 kB / 486.7 MB, free: 23.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.006811, allocations: 37.02 kB / 486.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006815, allocations: 1.094 kB / 486.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.006828, allocations: 1.156 kB / 486.8 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.006902, allocations: 14.19 kB / 486.8 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.006908, allocations: 1.375 kB / 486.8 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.474e-05/0.007003, allocations: 25.31 kB / 486.8 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.00702, allocations: 12.72 kB / 486.8 MB, free: 23.83 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 6.793e-05/0.007088, allocations: 156.5 kB / 487 MB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.007101, allocations: 12.45 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.007125, allocations: 14.17 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.007128, allocations: 1.188 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.007131, allocations: 1.344 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007134, allocations: 4 kB / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.379e-05/0.007198, allocations: 139.9 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.007199, allocations: 0 / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.00723, allocations: 10.78 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007232, allocations: 1.312 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.00724, allocations: 5.094 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007241, allocations: 0.6875 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.007242, allocations: 3.938 kB / 487.1 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.908e-05/0.007341, allocations: 113.2 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.007349, allocations: 6.172 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.00736, allocations: 4.906 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.452e-05/0.007384, allocations: 7.875 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.007423, allocations: 10.5 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.007428, allocations: 2.25 kB / 487.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.007475, allocations: 147.4 kB / 487.4 MB, free: 23.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007475, allocations: 0 / 487.4 MB, free: 23.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.007625, allocations: 19.81 kB / 487.5 MB, free: 23.26 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.0001033/0.007728, allocations: 95.22 kB / 487.5 MB, free: 23.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.007892, allocations: 154 kB / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.007893, allocations: 0.6875 kB / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.007932, allocations: 33.27 kB / 487.7 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.008086, allocations: 12.59 kB / 487.7 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.008356, allocations: 163.9 kB / 487.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.577e-05/0.008382, allocations: 56.45 kB / 488 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.263e-05/0.008405, allocations: 6.688 kB / 488 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.008432, allocations: 12.06 kB / 488 MB, free: 22.82 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008432, allocations: 0 / 488 MB, free: 22.82 MB / 426.7 MB Notification: Performance of Templates: time 0.003197/0.01163, allocations: 1.739 MB / 489.7 MB, free: 22.68 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.6996424589306116]