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.001735/0.001735, allocations: 110.9 kB / 17.84 MB, free: 5.355 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.002363/0.002363, allocations: 197.6 kB / 20.79 MB, free: 2.414 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.606/1.606, allocations: 230.6 MB / 254.2 MB, free: 15.11 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 1.063/1.063, allocations: 150 MB / 460.2 MB, free: 5.336 MB / 350.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="cs",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="cs",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.001975/0.001975, allocations: 66.88 kB / 0.6368 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2209, allocations: 89.14 MB / 0.7239 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002263/0.2232, allocations: 0.8477 MB / 0.7247 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.2259, allocations: 1.488 MB / 0.7261 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.2261, allocations: 7.938 kB / 0.7261 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.2269, allocations: 191.5 kB / 0.7263 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.2271, allocations: 119.6 kB / 0.7264 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.2285, allocations: 356 kB / 0.7268 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.2299, allocations: 0.8776 MB / 0.7276 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.2302, allocations: 76.28 kB / 0.7277 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/0.2306, allocations: 347.4 kB / 0.728 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004951/0.2311, allocations: 283.3 kB / 0.7283 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.2313, allocations: 44 kB / 0.7284 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.2316, allocations: 107.9 kB / 0.7285 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005046/0.2321, allocations: 363.2 kB / 0.7288 GB, free: 15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.2324, allocations: 274.8 kB / 0.7291 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.2336, allocations: 0.9153 MB / 0.73 GB, free: 13.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2336, allocations: 4 kB / 0.73 GB, free: 13.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2336, allocations: 0 / 0.73 GB, free: 13.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.2336, allocations: 0 / 0.73 GB, free: 13.8 MB / 0.545 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.001902/0.2355, allocations: 0.8994 MB / 0.7308 GB, free: 12.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.2356, allocations: 12.03 kB / 0.7309 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.543e-05/0.2356, allocations: 432 / 0.7309 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.153e-05/0.2357, allocations: 54.73 kB / 0.7309 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.2359, allocations: 52.66 kB / 0.731 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/0.2367, allocations: 0.5491 MB / 0.7315 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.2368, allocations: 20.61 kB / 0.7315 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.2369, allocations: 36.38 kB / 0.7315 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.2374, allocations: 317.9 kB / 0.7318 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2375, allocations: 0 / 0.7318 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.2375, allocations: 0 / 0.7318 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2375, allocations: 11.94 kB / 0.7319 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.2379, allocations: 227.8 kB / 0.7321 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.24, allocations: 1.172 MB / 0.7332 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.2408, allocations: 463.8 kB / 0.7337 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.2411, allocations: 174.6 kB / 0.7338 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2411, allocations: 0 / 0.7338 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005339/0.2416, allocations: 343.1 kB / 0.7342 GB, free: 9.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.2416, allocations: 0 / 0.7342 GB, free: 9.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001225/0.2428, allocations: 0.6339 MB / 0.7348 GB, free: 8.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2429, allocations: 114.8 kB / 0.7349 GB, free: 8.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008433/0.2438, allocations: 0.6071 MB / 0.7355 GB, free: 7.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.2439, allocations: 45.7 kB / 0.7355 GB, free: 7.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.2442, allocations: 213.5 kB / 0.7357 GB, free: 7.625 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.2442, allocations: 55.64 kB / 0.7358 GB, free: 7.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.2446, allocations: 185.4 kB / 0.736 GB, free: 7.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.2448, allocations: 358.8 kB / 0.7363 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.245, allocations: 128 kB / 0.7364 GB, free: 6.898 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.2461, allocations: 0.7225 MB / 0.7371 GB, free: 6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.2465, allocations: 304.6 kB / 0.7374 GB, free: 5.656 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2465, allocations: 0 / 0.7374 GB, free: 5.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007943/0.2473, allocations: 417.3 kB / 0.7378 GB, free: 5.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.2474, allocations: 14.81 kB / 0.7378 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2474, allocations: 4 kB / 0.7378 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.757e-05/0.2474, allocations: 7.938 kB / 0.7378 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.2476, allocations: 35.92 kB / 0.7379 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.2476, allocations: 11.92 kB / 0.7379 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.249, allocations: 120 kB / 0.738 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.2491, allocations: 19.94 kB / 0.738 GB, free: 5.035 MB / 0.545 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.0004308/0.2495, allocations: 261.6 kB / 0.7383 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.2496, allocations: 43.72 kB / 0.7383 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.2497, allocations: 55.31 kB / 0.7384 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2497, allocations: 4 kB / 0.7384 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.2497, allocations: 4 kB / 0.7384 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.2497, allocations: 3.984 kB / 0.7384 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.2502, allocations: 401.2 kB / 0.7388 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2502, allocations: 0 / 0.7388 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.2503, allocations: 15.92 kB / 0.7388 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.2503, allocations: 4 kB / 0.7388 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.2503, allocations: 11.94 kB / 0.7388 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2503, allocations: 0 / 0.7388 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2503, allocations: 0 / 0.7388 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000837/0.2511, allocations: 0.5177 MB / 0.7393 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.2513, allocations: 128.8 kB / 0.7394 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.2513, allocations: 11.92 kB / 0.7394 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.2515, allocations: 15.98 kB / 0.7394 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.2516, allocations: 27.97 kB / 0.7395 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.2516, allocations: 15.98 kB / 0.7395 GB, free: 3.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006308/0.2523, allocations: 439.1 kB / 0.7399 GB, free: 3 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2523, allocations: 0 / 0.7399 GB, free: 3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005691/0.2528, allocations: 107.8 kB / 0.74 GB, free: 2.895 MB / 0.545 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.001312/0.2542, allocations: 1.105 MB / 0.7411 GB, free: 1.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006785/0.2548, allocations: 355.4 kB / 0.7414 GB, free: 1.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2548, allocations: 0 / 0.7414 GB, free: 1.414 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.2551, allocations: 168 kB / 0.7416 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.2554, allocations: 34.7 kB / 0.7416 GB, free: 1.219 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/0.2619, allocations: 4.407 MB / 0.7459 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.2625, allocations: 0.8311 MB / 0.7467 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003488/0.2628, allocations: 102.2 kB / 0.7468 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.263, allocations: 131.4 kB / 0.747 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.263, allocations: 0 / 0.747 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03808/0.3011, allocations: 11.63 MB / 0.7583 GB, free: 180 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.897/9.199, allocations: 15.75 kB / 0.7583 GB, free: 164 kB / 0.5606 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 13.409589394985233] Failed to read output from testmodel.py, exit status != 0: 9.333001157036051 9.349639082 9.112775313 Calling exit ...