Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001348/0.001348, allocations: 114 kB / 17.12 MB, free: 6.008 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.001452/0.001452, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.009/1.009, allocations: 150 MB / 459.5 MB, free: 5.23 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.Reals.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_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.002045/0.002045, allocations: 75.33 kB / 0.6362 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1823, allocations: 89.14 MB / 0.7232 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004682/0.187, allocations: 2.518 MB / 0.7257 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003981/0.191, allocations: 1.714 MB / 0.7273 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.1913, allocations: 19.81 kB / 0.7274 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007854/0.1921, allocations: 322.8 kB / 0.7277 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009243/0.193, allocations: 410.4 kB / 0.7281 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.1937, allocations: 275.5 kB / 0.7283 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.1947, allocations: 0.7712 MB / 0.7291 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1949, allocations: 58.02 kB / 0.7291 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/0.1955, allocations: 366.6 kB / 0.7295 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004819/0.196, allocations: 358.5 kB / 0.7298 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.1961, allocations: 32 kB / 0.7299 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.1963, allocations: 91.97 kB / 0.7299 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.1966, allocations: 207.2 kB / 0.7301 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.1968, allocations: 282 kB / 0.7304 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009656/0.1978, allocations: 0.7816 MB / 0.7312 GB, free: 11.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1978, allocations: 0 / 0.7312 GB, free: 11.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1978, allocations: 0 / 0.7312 GB, free: 11.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.1978, allocations: 0 / 0.7312 GB, free: 11.83 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001759/0.1996, allocations: 1.065 MB / 0.7322 GB, free: 10.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1996, allocations: 8.031 kB / 0.7322 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.1997, allocations: 46.73 kB / 0.7323 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.1998, allocations: 84.38 kB / 0.7323 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.2009, allocations: 0.6529 MB / 0.733 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.2009, allocations: 16.12 kB / 0.733 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.2009, allocations: 12 kB / 0.733 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.2013, allocations: 206.5 kB / 0.7332 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2014, allocations: 4 kB / 0.7332 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.2014, allocations: 7.984 kB / 0.7332 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2014, allocations: 7.984 kB / 0.7332 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.2017, allocations: 95.88 kB / 0.7333 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.2031, allocations: 1.063 MB / 0.7344 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.2038, allocations: 273 kB / 0.7346 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.204, allocations: 96.25 kB / 0.7347 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.2041, allocations: 4 kB / 0.7347 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004343/0.2045, allocations: 227.5 kB / 0.7349 GB, free: 7.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.2045, allocations: 0 / 0.7349 GB, free: 7.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001031/0.2055, allocations: 424.9 kB / 0.7353 GB, free: 7.281 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.2057, allocations: 174.1 kB / 0.7355 GB, free: 7.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.2071, allocations: 1.075 MB / 0.7365 GB, free: 5.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.2072, allocations: 41.64 kB / 0.7366 GB, free: 5.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.2075, allocations: 300.8 kB / 0.7369 GB, free: 5.645 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.2075, allocations: 83.45 kB / 0.737 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.2078, allocations: 138.2 kB / 0.7371 GB, free: 5.418 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.2079, allocations: 334 kB / 0.7374 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.2084, allocations: 217.2 kB / 0.7376 GB, free: 4.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/0.2089, allocations: 311 kB / 0.7379 GB, free: 4.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007621/0.2096, allocations: 419.6 kB / 0.7383 GB, free: 4.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2096, allocations: 5.25 kB / 0.7383 GB, free: 4.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001288/0.2109, allocations: 0.6829 MB / 0.739 GB, free: 3.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.211, allocations: 5.875 kB / 0.739 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.211, allocations: 4 kB / 0.739 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.211, allocations: 4 kB / 0.739 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.2114, allocations: 123.8 kB / 0.7391 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2114, allocations: 8.156 kB / 0.7391 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.2117, allocations: 43.77 kB / 0.7392 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.2118, allocations: 27.98 kB / 0.7392 GB, free: 3.203 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003455/0.2121, allocations: 281.6 kB / 0.7395 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.2123, allocations: 79.48 kB / 0.7395 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.2124, allocations: 74.42 kB / 0.7396 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.2124, allocations: 7.938 kB / 0.7396 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2124, allocations: 3.984 kB / 0.7396 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2124, allocations: 4 kB / 0.7396 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.213, allocations: 477.2 kB / 0.7401 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.213, allocations: 7.938 kB / 0.7401 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.897e-05/0.213, allocations: 16 kB / 0.7401 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.213, allocations: 0 / 0.7401 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.2131, allocations: 11.98 kB / 0.7401 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.2131, allocations: 7.938 kB / 0.7401 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2131, allocations: 0 / 0.7401 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007397/0.2138, allocations: 399.8 kB / 0.7405 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.214, allocations: 168.5 kB / 0.7407 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.059e-05/0.2141, allocations: 12 kB / 0.7407 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.2143, allocations: 23.91 kB / 0.7407 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.2144, allocations: 23.97 kB / 0.7407 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.2144, allocations: 12 kB / 0.7407 GB, free: 1.516 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008306/0.2152, allocations: 0.6317 MB / 0.7413 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2152, allocations: 0 / 0.7413 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004716/0.2157, allocations: 115.9 kB / 0.7415 GB, free: 0.7734 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002866/0.2186, allocations: 1.319 MB / 0.7427 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008464/0.2194, allocations: 389.3 kB / 0.7431 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2194, allocations: 0 / 0.7431 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.2197, allocations: 96.14 kB / 0.7432 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.2207, allocations: 223.2 kB / 0.7434 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008851/0.2296, allocations: 5.979 MB / 0.7493 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.2302, allocations: 0.9364 MB / 0.7502 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000324/0.2305, allocations: 117.1 kB / 0.7503 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/0.2309, allocations: 251.3 kB / 0.7505 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.2309, allocations: 0 / 0.7505 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.2738, allocations: 13.97 MB / 0.7642 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.564/9.837, allocations: 12.53 kB / 0.7642 GB, free: 9.629 MB / 0.5762 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.8987895201426] Failed to read output from testmodel.py, exit status != 0: 9.975505775073543 10.003917537 9.800889429 Calling exit ...