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.001379/0.001379, allocations: 92.22 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.00161/0.00161, allocations: 165 kB / 23.8 MB, free: 0.7656 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.9621/0.9621, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.6147/0.6147, allocations: 115 MB / 375.7 MB, free: 7.668 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.074e-06/2.074e-06, allocations: 0 / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.392e-05, allocations: 3.125 kB / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00182/0.001844, allocations: 0.7849 MB / 482.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.003546, allocations: 1.195 MB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.432e-05/0.003621, allocations: 1.781 kB / 483.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.702e-05/0.003668, allocations: 3.938 kB / 483.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.00379, allocations: 20.58 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.004485, allocations: 133.5 kB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.004748, allocations: 123.2 kB / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.004871, allocations: 16.67 kB / 483.8 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.005032, allocations: 71.17 kB / 483.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.005154, allocations: 46.75 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.005194, allocations: 10.59 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.00529, allocations: 22.06 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.005322, allocations: 9.891 kB / 484 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.005395, allocations: 39.28 kB / 484 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.005593, allocations: 102.8 kB / 484.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.005597, allocations: 3.234 kB / 484.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.005598, allocations: 0.9062 kB / 484.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.005604, allocations: 1.219 kB / 484.1 MB, free: 10.23 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.0006634/0.006267, allocations: 441.7 kB / 484.6 MB, free: 9.797 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.006325, allocations: 10.56 kB / 484.6 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.165e-05/0.006416, allocations: 12.11 kB / 484.6 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.006521, allocations: 113.8 kB / 484.7 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.006544, allocations: 11.41 kB / 484.7 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.00657, allocations: 6.969 kB / 484.7 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.006774, allocations: 77.67 kB / 484.8 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.006783, allocations: 0.6875 kB / 484.8 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.006795, allocations: 3.281 kB / 484.8 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.006805, allocations: 1.375 kB / 484.8 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.006857, allocations: 14.39 kB / 484.8 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.007263, allocations: 306.8 kB / 485.1 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.007331, allocations: 36.03 kB / 485.2 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.007366, allocations: 12.84 kB / 485.2 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.007385, allocations: 5.75 kB / 485.2 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.0075, allocations: 75.14 kB / 485.3 MB, free: 9.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.007502, allocations: 1.438 kB / 485.3 MB, free: 9.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002574/0.00776, allocations: 78.2 kB / 485.3 MB, free: 9.145 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.007792, allocations: 56.16 kB / 485.4 MB, free: 9.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.008068, allocations: 185.1 kB / 485.6 MB, free: 24.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.008097, allocations: 26.95 kB / 485.6 MB, free: 24.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.008161, allocations: 143.5 kB / 485.7 MB, free: 24.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.008183, allocations: 19.09 kB / 485.8 MB, free: 24.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.008254, allocations: 35.61 kB / 485.8 MB, free: 24.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.008384, allocations: 0.4899 MB / 486.3 MB, free: 24.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.008489, allocations: 58.81 kB / 486.3 MB, free: 24.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.008593, allocations: 98.16 kB / 486.4 MB, free: 24.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.00871, allocations: 97.77 kB / 486.5 MB, free: 24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008712, allocations: 0 / 486.5 MB, free: 24 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003006/0.009013, allocations: 190.6 kB / 486.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.009054, allocations: 35.62 kB / 486.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.009061, allocations: 1.219 kB / 486.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.009077, allocations: 3 kB / 486.8 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.00919, allocations: 11.47 kB / 486.8 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.009198, allocations: 1.594 kB / 486.8 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.009345, allocations: 31.72 kB / 486.8 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.009372, allocations: 9.766 kB / 486.8 MB, free: 23.84 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.0001002/0.009472, allocations: 166.1 kB / 487 MB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.009494, allocations: 12.14 kB / 487 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.009525, allocations: 10.25 kB / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.009528, allocations: 1.438 kB / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.009533, allocations: 4.531 kB / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.009538, allocations: 1.188 kB / 487 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.287e-05/0.009621, allocations: 126.5 kB / 487.1 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.009623, allocations: 1.438 kB / 487.1 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.009683, allocations: 15.17 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.009685, allocations: 1.156 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.009696, allocations: 8.469 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.009698, allocations: 1.156 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.009701, allocations: 1.625 kB / 487.1 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.009837, allocations: 107.8 kB / 487.3 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.009847, allocations: 10.33 kB / 487.3 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.009862, allocations: 4.719 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.95e-05/0.009902, allocations: 8.844 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.009951, allocations: 10.66 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.00996, allocations: 6.719 kB / 487.3 MB, free: 23.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.01002, allocations: 138.2 kB / 487.4 MB, free: 23.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01002, allocations: 0 / 487.4 MB, free: 23.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000258/0.01028, allocations: 26.28 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.0001414/0.01042, allocations: 97.81 kB / 487.5 MB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.01064, allocations: 153.9 kB / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01064, allocations: 1.312 kB / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.01069, allocations: 26.83 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.0002329/0.01092, allocations: 24.14 kB / 487.7 MB, free: 23.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.01128, allocations: 157.3 kB / 487.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.89e-05/0.01131, allocations: 64.23 kB / 488 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.496e-05/0.01134, allocations: 7.797 kB / 488 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.01138, allocations: 12.12 kB / 488 MB, free: 22.81 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01138, allocations: 1.375 kB / 488 MB, free: 22.81 MB / 426.7 MB Notification: Performance of Templates: time 0.005115/0.01649, allocations: 1.877 MB / 489.9 MB, free: 22.66 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.5978583958931267]