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.001097/0.001097, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001236/0.001236, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8484/0.8484, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5516/0.5516, allocations: 114 MB / 373.9 MB, free: 8.723 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.524e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00116/0.001176, allocations: 0.6616 MB / 0.5548 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.002488, allocations: 1.353 MB / 0.5562 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.002536, allocations: 0 / 0.5562 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.003139, allocations: 187.5 kB / 0.5563 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.958e-05/0.003208, allocations: 107.6 kB / 0.5564 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.003628, allocations: 238 kB / 0.5567 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.003969, allocations: 483.8 kB / 0.5571 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.004009, allocations: 15.97 kB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.004195, allocations: 247.7 kB / 0.5574 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.004435, allocations: 219.6 kB / 0.5576 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.004482, allocations: 24 kB / 0.5576 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.004636, allocations: 99.83 kB / 0.5577 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.004879, allocations: 271.4 kB / 0.558 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.412e-05/0.004973, allocations: 119.7 kB / 0.5581 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.005336, allocations: 0.526 MB / 0.5586 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005338, allocations: 0 / 0.5586 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005339, allocations: 0 / 0.5586 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.005343, allocations: 0 / 0.5586 GB, free: 14.25 MB / 0.5261 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.0006211/0.005964, allocations: 0.5747 MB / 0.5592 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.005998, allocations: 12.62 kB / 0.5592 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.006029, allocations: 34.75 kB / 0.5592 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.006106, allocations: 32.8 kB / 0.5592 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.006438, allocations: 325.7 kB / 0.5595 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.006452, allocations: 16.38 kB / 0.5596 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.006494, allocations: 20.38 kB / 0.5596 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.006703, allocations: 188.7 kB / 0.5598 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.006709, allocations: 192 / 0.5598 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.006723, allocations: 4.375 kB / 0.5598 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006729, allocations: 16.06 kB / 0.5598 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.006844, allocations: 107.9 kB / 0.5599 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.007095, allocations: 298.3 kB / 0.5602 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.007402, allocations: 315.6 kB / 0.5605 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.007517, allocations: 118.6 kB / 0.5606 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.007524, allocations: 3.984 kB / 0.5606 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.007799, allocations: 281.6 kB / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 9.52e-07/0.007799, allocations: 0 / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0005322/0.008332, allocations: 0.5011 MB / 0.5613 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.008384, allocations: 110.8 kB / 0.5614 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.008665, allocations: 396.5 kB / 0.5618 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.008704, allocations: 41.7 kB / 0.5619 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.008795, allocations: 152.8 kB / 0.562 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.008826, allocations: 39.75 kB / 0.562 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.008927, allocations: 113.6 kB / 0.5622 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.009015, allocations: 342.8 kB / 0.5625 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.009096, allocations: 83.95 kB / 0.5626 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007268/0.009823, allocations: 1.095 MB / 0.5636 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.01002, allocations: 253.5 kB / 0.5639 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01002, allocations: 4 kB / 0.5639 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003172/0.01034, allocations: 325.1 kB / 0.5642 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.01035, allocations: 6.906 kB / 0.5642 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01036, allocations: 8 kB / 0.5642 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01037, allocations: 11.94 kB / 0.5642 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.01047, allocations: 32.03 kB / 0.5642 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01048, allocations: 8.562 kB / 0.5642 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.01085, allocations: 79.75 kB / 0.5643 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.01086, allocations: 12 kB / 0.5643 GB, free: 7.781 MB / 0.5261 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.0001327/0.01099, allocations: 191.7 kB / 0.5645 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.01102, allocations: 31.75 kB / 0.5645 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.01106, allocations: 37.95 kB / 0.5646 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.01106, allocations: 7.938 kB / 0.5646 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01106, allocations: 0 / 0.5646 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01107, allocations: 4.219 kB / 0.5646 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.01122, allocations: 232.5 kB / 0.5648 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01122, allocations: 0 / 0.5648 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-06/0.01123, allocations: 7.984 kB / 0.5648 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01123, allocations: 4 kB / 0.5648 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.01124, allocations: 11.98 kB / 0.5648 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.01125, allocations: 7.938 kB / 0.5648 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01125, allocations: 0 / 0.5648 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.0116, allocations: 430.4 kB / 0.5653 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.01163, allocations: 23.84 kB / 0.5653 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01165, allocations: 4 kB / 0.5653 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.143e-05/0.0117, allocations: 7.938 kB / 0.5653 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.01173, allocations: 23.95 kB / 0.5653 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.01175, allocations: 12 kB / 0.5653 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001893/0.01194, allocations: 291 kB / 0.5656 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01194, allocations: 4 kB / 0.5656 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002443/0.01219, allocations: 79.92 kB / 0.5657 GB, free: 6.324 MB / 0.5261 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.0006032/0.01279, allocations: 0.9936 MB / 0.5667 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.01308, allocations: 252.4 kB / 0.5669 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01308, allocations: 0 / 0.5669 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.0132, allocations: 127.9 kB / 0.567 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.01339, allocations: 29.11 kB / 0.567 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.01608, allocations: 3.253 MB / 0.5702 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.83e-05/0.01618, allocations: 157.2 kB / 0.5704 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.815e-05/0.01626, allocations: 41.95 kB / 0.5704 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.913e-05/0.01636, allocations: 88.45 kB / 0.5705 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/0.01636, allocations: 0 / 0.5705 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.03489, allocations: 8.737 MB / 0.579 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/7.31, allocations: 5.047 kB / 0.579 GB, free: 8.715 MB / 0.5417 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.6439897576347] Failed to read output from testmodel.py, exit status != 0: 7.3939175345003605 7.402253177 7.39531315 Calling exit ...