Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.001893/0.001893, allocations: 119 kB / 19.69 MB, free: 2.199 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.00219/0.00219, allocations: 222.3 kB / 23.01 MB, free: 5.051 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9155/0.9155, allocations: 150 MB / 463.2 MB, free: 10.47 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [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.002217/0.002217, allocations: 69.53 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.181, allocations: 89.17 MB / 0.7284 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002506/0.1835, allocations: 0.8552 MB / 0.7292 GB, free: 388 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.1859, allocations: 1.49 MB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.186, allocations: 3.938 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.1866, allocations: 203.5 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.1868, allocations: 115.6 kB / 0.731 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.1879, allocations: 363.5 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.1891, allocations: 0.8855 MB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.1892, allocations: 52.56 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006198/0.1899, allocations: 355.4 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000604/0.1905, allocations: 287.3 kB / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.1907, allocations: 48 kB / 0.7329 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.1911, allocations: 127.8 kB / 0.733 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005494/0.1916, allocations: 363.3 kB / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004772/0.1921, allocations: 274.8 kB / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.1932, allocations: 0.9154 MB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1932, allocations: 0 / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1932, allocations: 0 / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.1932, allocations: 3.938 kB / 0.7345 GB, free: 10.93 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00198/0.1952, allocations: 0.832 MB / 0.7353 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1953, allocations: 8.031 kB / 0.7353 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.231e-05/0.1953, allocations: 46.73 kB / 0.7354 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.1956, allocations: 52.66 kB / 0.7354 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.1966, allocations: 0.5004 MB / 0.7359 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.1967, allocations: 16.61 kB / 0.7359 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.1968, allocations: 36.38 kB / 0.736 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.1973, allocations: 311.6 kB / 0.7363 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1973, allocations: 3.938 kB / 0.7363 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.1973, allocations: 7.875 kB / 0.7363 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1973, allocations: 4 kB / 0.7363 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.1977, allocations: 223.8 kB / 0.7365 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.1999, allocations: 1.148 MB / 0.7376 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/0.2006, allocations: 463.8 kB / 0.738 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.2009, allocations: 182.5 kB / 0.7382 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.2009, allocations: 4 kB / 0.7382 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/0.2014, allocations: 336.7 kB / 0.7385 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.784e-06/0.2014, allocations: 0 / 0.7385 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.001128/0.2025, allocations: 0.6299 MB / 0.7392 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/0.2026, allocations: 114.8 kB / 0.7393 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.2034, allocations: 0.5916 MB / 0.7399 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.2035, allocations: 45.7 kB / 0.7399 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.2037, allocations: 221.7 kB / 0.7401 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/0.2038, allocations: 51.62 kB / 0.7402 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.2041, allocations: 193.3 kB / 0.7403 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.2042, allocations: 358.8 kB / 0.7407 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2045, allocations: 127.9 kB / 0.7408 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009254/0.2054, allocations: 0.7113 MB / 0.7415 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.2058, allocations: 308.6 kB / 0.7418 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2058, allocations: 4 kB / 0.7418 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007257/0.2065, allocations: 421.6 kB / 0.7422 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2065, allocations: 4 kB / 0.7422 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2065, allocations: 4.375 kB / 0.7422 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.2066, allocations: 11.94 kB / 0.7422 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.2067, allocations: 39.86 kB / 0.7423 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.2067, allocations: 7.984 kB / 0.7423 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.2079, allocations: 123.9 kB / 0.7424 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.208, allocations: 19.98 kB / 0.7424 GB, free: 2.352 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003359/0.2083, allocations: 258 kB / 0.7426 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.2084, allocations: 39.72 kB / 0.7427 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.67e-05/0.2085, allocations: 51.38 kB / 0.7427 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.2085, allocations: 7.938 kB / 0.7427 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2085, allocations: 0 / 0.7427 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2085, allocations: 3.984 kB / 0.7427 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.2089, allocations: 384.3 kB / 0.7431 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2089, allocations: 0 / 0.7431 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.2089, allocations: 11.92 kB / 0.7431 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2089, allocations: 0 / 0.7431 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.209, allocations: 8 kB / 0.7431 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.209, allocations: 7.938 kB / 0.7431 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.209, allocations: 0 / 0.7431 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.2097, allocations: 0.5177 MB / 0.7436 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2098, allocations: 51.75 kB / 0.7437 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.2098, allocations: 3.984 kB / 0.7437 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.21, allocations: 23.92 kB / 0.7437 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.2101, allocations: 27.97 kB / 0.7437 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.2101, allocations: 11.98 kB / 0.7438 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005255/0.2106, allocations: 435.1 kB / 0.7442 GB, free: 468 kB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2106, allocations: 0 / 0.7442 GB, free: 468 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004511/0.2111, allocations: 119.8 kB / 0.7443 GB, free: 348 kB / 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0012/0.2123, allocations: 1.114 MB / 0.7454 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.2129, allocations: 343.6 kB / 0.7457 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2129, allocations: 0 / 0.7457 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.2132, allocations: 167.8 kB / 0.7459 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.2135, allocations: 33.95 kB / 0.7459 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/0.2194, allocations: 4.412 MB / 0.7502 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.2199, allocations: 0.8311 MB / 0.751 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.2201, allocations: 94.22 kB / 0.7511 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.2203, allocations: 131.4 kB / 0.7512 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.2203, allocations: 0 / 0.7512 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3778/0.5981, allocations: 11.82 MB / 0.7628 GB, free: 34.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.19, allocations: 6 kB / 0.7628 GB, free: 34.6 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.83569282013923] Failed to read output from testmodel.py, exit status != 0: 12.305672883056104 12.33014037 12.1320107 Calling exit ...