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.00142/0.00142, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001064/0.001064, allocations: 172 kB / 24.84 MB, free: 9.309 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.122/1.122, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.6418/0.6418, allocations: 115 MB / 376.8 MB, free: 7.52 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.244e-06/2.244e-06, allocations: 0 / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.853e-05, allocations: 5.141 kB / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002268/0.002296, allocations: 0.8031 MB / 483.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.004023, allocations: 1.338 MB / 484.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.004098, allocations: 3.938 kB / 484.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.054e-05/0.004139, allocations: 11.81 kB / 484.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.004242, allocations: 23.47 kB / 484.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.005003, allocations: 308.7 kB / 485.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.005379, allocations: 291.8 kB / 485.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.005503, allocations: 36.12 kB / 485.6 MB, free: 9.957 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.005743, allocations: 159.5 kB / 485.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.005934, allocations: 89.56 kB / 485.8 MB, free: 9.863 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.005995, allocations: 26.75 kB / 485.8 MB, free: 9.863 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.006094, allocations: 36.42 kB / 485.9 MB, free: 9.863 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.006127, allocations: 25.34 kB / 485.9 MB, free: 9.848 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.006231, allocations: 90.86 kB / 486 MB, free: 9.805 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.00651, allocations: 221.5 kB / 486.2 MB, free: 9.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.006512, allocations: 0 / 486.2 MB, free: 9.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006513, allocations: 1.25 kB / 486.2 MB, free: 9.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.006517, allocations: 3.938 kB / 486.2 MB, free: 9.699 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.0005328/0.00705, allocations: 0.5476 MB / 486.8 MB, free: 9.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.007091, allocations: 16.78 kB / 486.8 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.7e-05/0.007178, allocations: 27.19 kB / 486.8 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.007393, allocations: 165.2 kB / 487 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.007423, allocations: 9.312 kB / 487 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.007473, allocations: 24.59 kB / 487 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.007612, allocations: 88.34 kB / 487.1 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.007622, allocations: 2.875 kB / 487.1 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.007634, allocations: 5.344 kB / 487.1 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.007641, allocations: 1.094 kB / 487.1 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.545e-05/0.007696, allocations: 28.97 kB / 487.1 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.008214, allocations: 410 kB / 487.5 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.008394, allocations: 58.88 kB / 487.6 MB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.008426, allocations: 18.94 kB / 487.6 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.008434, allocations: 2.969 kB / 487.6 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.008578, allocations: 117.6 kB / 487.7 MB, free: 8.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.214e-06/0.00858, allocations: 0.5938 kB / 487.7 MB, free: 8.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002901/0.00887, allocations: 141.8 kB / 487.8 MB, free: 8.453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.008899, allocations: 57.88 kB / 487.9 MB, free: 8.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.009192, allocations: 212.5 kB / 488.1 MB, free: 24.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.009227, allocations: 34.98 kB / 488.1 MB, free: 24.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.009314, allocations: 156.2 kB / 488.3 MB, free: 24.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.009339, allocations: 34.3 kB / 488.3 MB, free: 23.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.009491, allocations: 91.72 kB / 488.4 MB, free: 23.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.009646, allocations: 0.4945 MB / 488.9 MB, free: 23.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.009831, allocations: 161.3 kB / 489.1 MB, free: 23.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.01003, allocations: 225.3 kB / 489.3 MB, free: 23.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.01026, allocations: 235.1 kB / 489.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01026, allocations: 1.062 kB / 489.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005956/0.01086, allocations: 452.9 kB / 490 MB, free: 22.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/0.01091, allocations: 99.08 kB / 490.1 MB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01092, allocations: 5.422 kB / 490.1 MB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.01093, allocations: 8.094 kB / 490.1 MB, free: 22.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.541e-05/0.01099, allocations: 13.03 kB / 490.1 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01099, allocations: 6.25 kB / 490.1 MB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.0113, allocations: 65.22 kB / 490.2 MB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.01135, allocations: 19.95 kB / 490.2 MB, free: 22.56 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.0001297/0.01148, allocations: 177.3 kB / 490.4 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.01151, allocations: 21.84 kB / 490.4 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.01154, allocations: 11.31 kB / 490.4 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01155, allocations: 6 kB / 490.4 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01155, allocations: 4.438 kB / 490.4 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01155, allocations: 3.938 kB / 490.4 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.01167, allocations: 130.7 kB / 490.5 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01167, allocations: 1.156 kB / 490.5 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.01171, allocations: 8.344 kB / 490.5 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.01172, allocations: 1.219 kB / 490.5 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.01173, allocations: 5.531 kB / 490.5 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01173, allocations: 0.7812 kB / 490.5 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01173, allocations: 0.875 kB / 490.5 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.01192, allocations: 157 kB / 490.7 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.01193, allocations: 7.891 kB / 490.7 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.01195, allocations: 13.34 kB / 490.7 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/0.01198, allocations: 1.469 kB / 490.7 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.01202, allocations: 15.41 kB / 490.7 MB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.01203, allocations: 6.688 kB / 490.7 MB, free: 22.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.876e-05/0.01211, allocations: 141.6 kB / 490.9 MB, free: 21.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01211, allocations: 1.094 kB / 490.9 MB, free: 21.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.01244, allocations: 58.09 kB / 490.9 MB, free: 21.97 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.0001538/0.01259, allocations: 105.9 kB / 491 MB, free: 21.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.01302, allocations: 413.5 kB / 491.4 MB, free: 21.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01302, allocations: 1.75 kB / 491.4 MB, free: 21.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.27e-05/0.01309, allocations: 34.52 kB / 491.5 MB, free: 21.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.01336, allocations: 34.03 kB / 491.5 MB, free: 21.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.01374, allocations: 242.4 kB / 491.7 MB, free: 21.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.01378, allocations: 69.2 kB / 491.8 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.192e-05/0.01383, allocations: 8.703 kB / 491.8 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.01404, allocations: 131.4 kB / 492 MB, free: 21.21 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01404, allocations: 0 / 492 MB, free: 21.21 MB / 426.7 MB Notification: Performance of Templates: time 0.007245/0.02129, allocations: 3.348 MB / 495.3 MB, free: 20.89 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: 3.6478816173039377]