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.000884/0.000884, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001297/0.001297, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.044/1.044, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.6119/0.6119, allocations: 115 MB / 376 MB, free: 7.488 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.164e-06/2.164e-06, allocations: 0 / 428.8 MB, free: 2.754 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.34e-05, allocations: 6.25 kB / 428.8 MB, free: 2.746 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002389/0.002423, allocations: 0.8562 MB / 429.6 MB, free: 1.891 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.004393, allocations: 1.341 MB / 431 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.004454, allocations: 4 kB / 431 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.004491, allocations: 11.86 kB / 431 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/0.00458, allocations: 23.73 kB / 431 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.005224, allocations: 311.2 kB / 431.3 MB, free: 196 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.005512, allocations: 295.5 kB / 431.6 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.005617, allocations: 46.09 kB / 431.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.005785, allocations: 159.8 kB / 431.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.00593, allocations: 83.8 kB / 431.9 MB, free: 15.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.005967, allocations: 24 kB / 431.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.006074, allocations: 47.97 kB / 432 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.0061, allocations: 19.92 kB / 432 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.006175, allocations: 87.86 kB / 432.1 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.006403, allocations: 223.3 kB / 432.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006405, allocations: 0 / 432.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006406, allocations: 0 / 432.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.006411, allocations: 0 / 432.3 MB, free: 15.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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004306/0.006842, allocations: 433.4 kB / 432.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.00688, allocations: 12.03 kB / 432.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.006929, allocations: 24.91 kB / 432.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.007115, allocations: 146.2 kB / 432.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.007136, allocations: 20.38 kB / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.007165, allocations: 20.36 kB / 432.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.007268, allocations: 90.22 kB / 433 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.007276, allocations: 0 / 433 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.007285, allocations: 8 kB / 433 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.00729, allocations: 0 / 433 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.007325, allocations: 27.55 kB / 433 MB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.007659, allocations: 255.9 kB / 433.3 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.007787, allocations: 42.55 kB / 433.3 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.007808, allocations: 16.84 kB / 433.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.007815, allocations: 8 kB / 433.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.00793, allocations: 103.2 kB / 433.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.007931, allocations: 0 / 433.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001696/0.0081, allocations: 101.6 kB / 433.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.008133, allocations: 55.41 kB / 433.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.008225, allocations: 162.6 kB / 433.8 MB, free: 13.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.008252, allocations: 33.7 kB / 433.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.008309, allocations: 116.5 kB / 433.9 MB, free: 13.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.008332, allocations: 31.77 kB / 434 MB, free: 13.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.008414, allocations: 65.66 kB / 434 MB, free: 13.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.008499, allocations: 330.8 kB / 434.3 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.008609, allocations: 152.9 kB / 434.5 MB, free: 12.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.008733, allocations: 202.8 kB / 434.7 MB, free: 12.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.008883, allocations: 215 kB / 434.9 MB, free: 12.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008885, allocations: 0 / 434.9 MB, free: 12.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004169/0.009302, allocations: 383.3 kB / 435.3 MB, free: 11.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.388e-05/0.009376, allocations: 101.1 kB / 435.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.009382, allocations: 0 / 435.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.0094, allocations: 7.938 kB / 435.4 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.009463, allocations: 8 kB / 435.4 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.00947, allocations: 11.92 kB / 435.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.009728, allocations: 68.03 kB / 435.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.009766, allocations: 15.98 kB / 435.5 MB, free: 11.69 MB / 410.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.0001302/0.009897, allocations: 129.8 kB / 435.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.009922, allocations: 12 kB / 435.6 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.009957, allocations: 16.7 kB / 435.6 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.009963, allocations: 7.938 kB / 435.6 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.009966, allocations: 0 / 435.6 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.00997, allocations: 0 / 435.6 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.01012, allocations: 105.8 kB / 435.7 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01012, allocations: 3.938 kB / 435.7 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.01016, allocations: 12 kB / 435.8 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01017, allocations: 0 / 435.8 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01018, allocations: 4 kB / 435.8 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.01018, allocations: 7.969 kB / 435.8 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01018, allocations: 0 / 435.8 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.01033, allocations: 117.5 kB / 435.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.01035, allocations: 11.91 kB / 435.9 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.01037, allocations: 0 / 435.9 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.01039, allocations: 7.984 kB / 435.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.01042, allocations: 15.92 kB / 435.9 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.01044, allocations: 7.938 kB / 435.9 MB, free: 11.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.01047, allocations: 32.83 kB / 436 MB, free: 11.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01047, allocations: 0 / 436 MB, free: 11.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.01072, allocations: 51.98 kB / 436 MB, free: 11.11 MB / 410.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.0001695/0.01089, allocations: 80.36 kB / 436.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003876/0.01128, allocations: 392 kB / 436.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.01129, allocations: 384 / 436.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.01134, allocations: 44.78 kB / 436.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.01154, allocations: 27.97 kB / 436.5 MB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.01193, allocations: 233.1 kB / 436.8 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.01198, allocations: 71.33 kB / 436.8 MB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.065e-05/0.01202, allocations: 4.984 kB / 436.8 MB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.0122, allocations: 103.3 kB / 436.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01221, allocations: 0 / 436.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of Templates: time 0.005876/0.01808, allocations: 3.257 MB / 440.2 MB, free: 6.812 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.486964836716652]