Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.001981/0.001981, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002349/0.002349, allocations: 213 kB / 22.99 MB, free: 4.605 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 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 0.9858/0.9858, allocations: 149.9 MB / 463 MB, free: 10.38 MB / 366.1 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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 73.05 kB / 0.6416 GB, free: 9.641 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2041, allocations: 89.16 MB / 0.7286 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002118/0.2063, allocations: 0.6567 MB / 0.7293 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2085, allocations: 1.342 MB / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.2085, allocations: 8 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.2091, allocations: 187.5 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.2093, allocations: 107.7 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.2101, allocations: 238.2 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.2107, allocations: 487.7 kB / 0.7316 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.2107, allocations: 8 kB / 0.7316 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.211, allocations: 207.6 kB / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.2113, allocations: 223.6 kB / 0.732 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-05/0.2114, allocations: 20 kB / 0.732 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.2117, allocations: 95.91 kB / 0.7321 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004562/0.2122, allocations: 279.4 kB / 0.7324 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.2123, allocations: 139.4 kB / 0.7325 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.2129, allocations: 474.5 kB / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2129, allocations: 0 / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2129, allocations: 0 / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.2129, allocations: 0 / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001087/0.214, allocations: 0.5708 MB / 0.7335 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.214, allocations: 8.031 kB / 0.7335 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.2142, allocations: 40.75 kB / 0.7336 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/0.2147, allocations: 326.5 kB / 0.7339 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2148, allocations: 16.38 kB / 0.7339 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.2148, allocations: 20.38 kB / 0.7339 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.2152, allocations: 192.6 kB / 0.7341 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2152, allocations: 192 / 0.7341 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.2152, allocations: 7.938 kB / 0.7341 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2152, allocations: 0 / 0.7341 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.2154, allocations: 119.8 kB / 0.7342 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.2158, allocations: 263 kB / 0.7345 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.2163, allocations: 311.6 kB / 0.7348 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.2165, allocations: 126.6 kB / 0.7349 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.2165, allocations: 0 / 0.7349 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000529/0.217, allocations: 283.3 kB / 0.7351 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.217, allocations: 0 / 0.7351 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0008901/0.2179, allocations: 0.4933 MB / 0.7356 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.218, allocations: 118.7 kB / 0.7357 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.2185, allocations: 404.4 kB / 0.7361 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/0.2186, allocations: 45.69 kB / 0.7362 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2187, allocations: 148.8 kB / 0.7363 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.2188, allocations: 35.78 kB / 0.7363 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.2189, allocations: 121.5 kB / 0.7365 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.2191, allocations: 346.8 kB / 0.7368 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.2193, allocations: 79.95 kB / 0.7369 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009431/0.2202, allocations: 1.091 MB / 0.7379 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.2205, allocations: 257.7 kB / 0.7382 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.2205, allocations: 4 kB / 0.7382 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000516/0.2211, allocations: 333 kB / 0.7385 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2211, allocations: 4 kB / 0.7385 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2211, allocations: 4 kB / 0.7385 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.2211, allocations: 7.938 kB / 0.7385 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2213, allocations: 40.05 kB / 0.7386 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2213, allocations: 4.406 kB / 0.7386 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006897/0.222, allocations: 68.44 kB / 0.7386 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.222, allocations: 16 kB / 0.7386 GB, free: 5.711 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0002374/0.2222, allocations: 191.7 kB / 0.7388 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.2223, allocations: 27.81 kB / 0.7388 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.2224, allocations: 41.77 kB / 0.7389 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2224, allocations: 8 kB / 0.7389 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2224, allocations: 0 / 0.7389 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2224, allocations: 3.938 kB / 0.7389 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.2226, allocations: 201.2 kB / 0.7391 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2226, allocations: 0 / 0.7391 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.2226, allocations: 7.984 kB / 0.7391 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2226, allocations: 4 kB / 0.7391 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.2227, allocations: 4 kB / 0.7391 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2227, allocations: 3.938 kB / 0.7391 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2227, allocations: 0 / 0.7391 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/0.2233, allocations: 442.3 kB / 0.7395 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.2233, allocations: 31.84 kB / 0.7396 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.2233, allocations: 4 kB / 0.7396 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.171e-05/0.2234, allocations: 7.938 kB / 0.7396 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.2235, allocations: 15.97 kB / 0.7396 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.2235, allocations: 16 kB / 0.7396 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003742/0.2239, allocations: 287 kB / 0.7399 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2239, allocations: 0 / 0.7399 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004169/0.2243, allocations: 83.86 kB / 0.74 GB, free: 4.297 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002861/0.2246, allocations: 144.2 kB / 0.7401 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.225, allocations: 245.8 kB / 0.7403 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.225, allocations: 3.938 kB / 0.7403 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.2252, allocations: 119.9 kB / 0.7404 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2255, allocations: 29.7 kB / 0.7405 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009086/0.2264, allocations: 0.5697 MB / 0.741 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.2266, allocations: 161.2 kB / 0.7412 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.2267, allocations: 41.95 kB / 0.7412 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.2268, allocations: 31.42 kB / 0.7413 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.2268, allocations: 0 / 0.7413 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of Templates: time 0.01099/0.2378, allocations: 5.603 MB / 0.7467 GB, free: 13.4 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.512498380616307] Failed to read output from testmodel.py, exit status != 0: 0.24693804048001766 0.648648733 0.045331385 Calling exit ...