Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.002469/0.002469, allocations: 93.47 kB / 20.21 MB, free: 4.207 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.002839/0.002839, allocations: 169.2 kB / 23.53 MB, free: 0.8867 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.638/1.638, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.027/1.027, allocations: 115 MB / 375.3 MB, free: 7.562 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.864e-05, allocations: 8.375 kB / 480.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002486/0.002514, allocations: 0.7975 MB / 481.6 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.004478, allocations: 1.317 MB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.579e-05/0.004554, allocations: 0 / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.004595, allocations: 9.281 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.004716, allocations: 31.83 kB / 482.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009623/0.005678, allocations: 311.6 kB / 483.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.006061, allocations: 292.2 kB / 483.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.006193, allocations: 29.31 kB / 483.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.006445, allocations: 170.5 kB / 483.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.006657, allocations: 83.72 kB / 483.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/0.006737, allocations: 27.31 kB / 483.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.00687, allocations: 39.2 kB / 483.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.682e-05/0.006907, allocations: 21.66 kB / 483.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.007055, allocations: 91.33 kB / 484 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.007461, allocations: 313.7 kB / 484.3 MB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.007465, allocations: 0 / 484.3 MB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007466, allocations: 0.625 kB / 484.3 MB, free: 9.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.007471, allocations: 1.219 kB / 484.3 MB, free: 9.875 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006924/0.008164, allocations: 0.5536 MB / 484.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.008205, allocations: 13.11 kB / 484.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.008329, allocations: 26.12 kB / 484.9 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.696e-05/0.008426, allocations: 125.2 kB / 485 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.008465, allocations: 17.22 kB / 485 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.008533, allocations: 20.16 kB / 485 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.008762, allocations: 93.42 kB / 485.1 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.008775, allocations: 0 / 485.1 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.008791, allocations: 6.406 kB / 485.1 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.008798, allocations: 2.281 kB / 485.1 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.008955, allocations: 52.89 kB / 485.2 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008195/0.009775, allocations: 445.6 kB / 485.6 MB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.01007, allocations: 82.7 kB / 485.7 MB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.01015, allocations: 34.36 kB / 485.7 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.01017, allocations: 1.031 kB / 485.7 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.01039, allocations: 123.3 kB / 485.9 MB, free: 8.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.874e-06/0.01039, allocations: 5.875 kB / 485.9 MB, free: 8.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005428/0.01094, allocations: 178.7 kB / 486.1 MB, free: 8.551 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.01097, allocations: 58.27 kB / 486.1 MB, free: 8.488 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.0113, allocations: 227.9 kB / 486.3 MB, free: 24.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.01134, allocations: 32.05 kB / 486.4 MB, free: 24.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.01148, allocations: 161.3 kB / 486.5 MB, free: 24.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.01151, allocations: 36.3 kB / 486.6 MB, free: 24.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.01172, allocations: 96.78 kB / 486.6 MB, free: 24.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003416/0.01206, allocations: 0.4965 MB / 487.1 MB, free: 23.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.01249, allocations: 208.5 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.01293, allocations: 287.4 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.01339, allocations: 282 kB / 487.9 MB, free: 22.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.01341, allocations: 0 / 487.9 MB, free: 22.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001161/0.01457, allocations: 0.5385 MB / 488.4 MB, free: 22.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/0.01463, allocations: 105.8 kB / 488.5 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.01464, allocations: 1.531 kB / 488.5 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.01466, allocations: 4.281 kB / 488.6 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.01476, allocations: 9.594 kB / 488.6 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.01477, allocations: 14.02 kB / 488.6 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/0.01544, allocations: 64.36 kB / 488.6 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/0.01551, allocations: 19.69 kB / 488.7 MB, free: 22.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0002283/0.01574, allocations: 177.8 kB / 488.8 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.01578, allocations: 20.84 kB / 488.9 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.01583, allocations: 18.28 kB / 488.9 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.01583, allocations: 1.812 kB / 488.9 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.01584, allocations: 0.7188 kB / 488.9 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01585, allocations: 1.469 kB / 488.9 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.01604, allocations: 166.1 kB / 489 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01604, allocations: 0 / 489 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.567e-05/0.01611, allocations: 18.52 kB / 489.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.01612, allocations: 2.375 kB / 489.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.01614, allocations: 1.438 kB / 489.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.01614, allocations: 10.44 kB / 489.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01614, allocations: 0 / 489.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.01653, allocations: 181.5 kB / 489.2 MB, free: 22.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.01655, allocations: 14.98 kB / 489.3 MB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.01659, allocations: 8.766 kB / 489.3 MB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.688e-05/0.01664, allocations: 5.844 kB / 489.3 MB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.01671, allocations: 12.39 kB / 489.3 MB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.01672, allocations: 6.953 kB / 489.3 MB, free: 22.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.01688, allocations: 154 kB / 489.4 MB, free: 21.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.01688, allocations: 3.938 kB / 489.4 MB, free: 21.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005168/0.0174, allocations: 56.55 kB / 489.5 MB, free: 21.88 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002426/0.01764, allocations: 103.5 kB / 489.6 MB, free: 21.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.01866, allocations: 0.5023 MB / 490.1 MB, free: 21.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.01866, allocations: 4.844 kB / 490.1 MB, free: 21.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.01882, allocations: 58.38 kB / 490.2 MB, free: 21.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.01929, allocations: 32.94 kB / 490.2 MB, free: 21.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.01994, allocations: 258.9 kB / 490.5 MB, free: 21.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.02004, allocations: 94.03 kB / 490.5 MB, free: 21.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.0201, allocations: 13.58 kB / 490.6 MB, free: 21.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.02014, allocations: 15.81 kB / 490.6 MB, free: 21.13 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02015, allocations: 0 / 490.6 MB, free: 21.13 MB / 426.7 MB Notification: Performance of Templates: time 0.01078/0.03093, allocations: 3.04 MB / 493.6 MB, free: 20.86 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.795015634968877]