Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.001359/0.001359, allocations: 113.4 kB / 17.12 MB, free: 6.027 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.001589/0.001589, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.018/1.018, allocations: 150 MB / 459.5 MB, free: 5.281 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.Utilities.Validation.SunRiseSet,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",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.002003/0.002003, allocations: 72.33 kB / 0.6361 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1848, allocations: 89.13 MB / 0.7231 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.003144/0.188, allocations: 0.8826 MB / 0.724 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005405/0.1934, allocations: 2.586 MB / 0.7265 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1935, allocations: 3.938 kB / 0.7265 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.95e-05/0.1936, allocations: 11.81 kB / 0.7265 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.1939, allocations: 51.61 kB / 0.7266 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.1955, allocations: 0.4905 MB / 0.7271 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000569/0.1961, allocations: 323.1 kB / 0.7274 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.1962, allocations: 13.66 kB / 0.7274 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003856/0.1966, allocations: 147.6 kB / 0.7275 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1968, allocations: 151.5 kB / 0.7277 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.1969, allocations: 24 kB / 0.7277 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007973/0.1977, allocations: 391.7 kB / 0.7281 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1978, allocations: 71.8 kB / 0.7281 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.198, allocations: 123.5 kB / 0.7283 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.1991, allocations: 0.5645 MB / 0.7288 GB, free: 14.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1991, allocations: 0 / 0.7288 GB, free: 14.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1991, allocations: 0 / 0.7288 GB, free: 14.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.1991, allocations: 0 / 0.7288 GB, free: 14.25 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001781/0.2009, allocations: 0.6868 MB / 0.7295 GB, free: 13.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.2009, allocations: 8.031 kB / 0.7295 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.226e-05/0.201, allocations: 46.73 kB / 0.7295 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.2022, allocations: 88.72 kB / 0.7296 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.2025, allocations: 192.8 kB / 0.7298 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.2027, allocations: 139.3 kB / 0.7299 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.2028, allocations: 20.36 kB / 0.73 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.2032, allocations: 239.7 kB / 0.7302 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2032, allocations: 0 / 0.7302 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.2033, allocations: 11.98 kB / 0.7302 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2033, allocations: 4 kB / 0.7302 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.2035, allocations: 119.7 kB / 0.7303 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.2041, allocations: 399.2 kB / 0.7307 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.2057, allocations: 487.3 kB / 0.7312 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.206, allocations: 154.2 kB / 0.7313 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.206, allocations: 7.938 kB / 0.7313 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005948/0.2066, allocations: 315.5 kB / 0.7316 GB, free: 10.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 3.316e-06/0.2066, allocations: 0 / 0.7316 GB, free: 10.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0009331/0.2075, allocations: 413 kB / 0.732 GB, free: 10.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002246/0.2078, allocations: 358.1 kB / 0.7324 GB, free: 10.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.208, allocations: 166.2 kB / 0.7325 GB, free: 9.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/0.208, allocations: 45.69 kB / 0.7326 GB, free: 9.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.2081, allocations: 93.14 kB / 0.7326 GB, free: 9.773 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.2082, allocations: 115.1 kB / 0.7328 GB, free: 9.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.2084, allocations: 94.22 kB / 0.7328 GB, free: 9.562 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2086, allocations: 334.8 kB / 0.7332 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.2089, allocations: 113.1 kB / 0.7333 GB, free: 9.113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.2092, allocations: 173 kB / 0.7334 GB, free: 8.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.2099, allocations: 268.4 kB / 0.7337 GB, free: 8.668 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2099, allocations: 0 / 0.7337 GB, free: 8.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008308/0.2107, allocations: 379.7 kB / 0.7341 GB, free: 8.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2107, allocations: 4 kB / 0.7341 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2107, allocations: 8 kB / 0.7341 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2107, allocations: 1.75 kB / 0.7341 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.2112, allocations: 83.81 kB / 0.7341 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2112, allocations: 0 / 0.7341 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.2115, allocations: 51.7 kB / 0.7342 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.2115, allocations: 19.98 kB / 0.7342 GB, free: 8.129 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001883/0.2117, allocations: 157.8 kB / 0.7344 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.2118, allocations: 31.8 kB / 0.7344 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007383/0.2125, allocations: 358.1 kB / 0.7347 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.2126, allocations: 8 kB / 0.7347 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.2126, allocations: 4 kB / 0.7347 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.2126, allocations: 8.172 kB / 0.7348 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.213, allocations: 353.1 kB / 0.7351 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.2131, allocations: 11.97 kB / 0.7351 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.2134, allocations: 71.84 kB / 0.7352 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.2134, allocations: 11.94 kB / 0.7352 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.2134, allocations: 19.98 kB / 0.7352 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.2134, allocations: 8 kB / 0.7352 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2134, allocations: 4 kB / 0.7352 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/0.2142, allocations: 0.4901 MB / 0.7357 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.2144, allocations: 145.1 kB / 0.7358 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.2145, allocations: 23.89 kB / 0.7359 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.2148, allocations: 35.91 kB / 0.7359 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.2149, allocations: 59.81 kB / 0.7359 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.2149, allocations: 20 kB / 0.736 GB, free: 6.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001078/0.215, allocations: 127.2 kB / 0.7361 GB, free: 6.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.215, allocations: 0 / 0.7361 GB, free: 6.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006518/0.2157, allocations: 231.2 kB / 0.7363 GB, free: 5.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * 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.001652/0.2173, allocations: 1.26 MB / 0.7375 GB, free: 4.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007039/0.218, allocations: 322.2 kB / 0.7378 GB, free: 4.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.218, allocations: 0 / 0.7378 GB, free: 4.203 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.2183, allocations: 167.7 kB / 0.738 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2186, allocations: 29.83 kB / 0.738 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.2229, allocations: 2.78 MB / 0.7407 GB, free: 1.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.2233, allocations: 0.7649 MB / 0.7415 GB, free: 280 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.2235, allocations: 54.94 kB / 0.7415 GB, free: 228 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.2237, allocations: 95.38 kB / 0.7416 GB, free: 132 kB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.2237, allocations: 0 / 0.7416 GB, free: 132 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03635/0.26, allocations: 8.099 MB / 0.7495 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.527/8.787, allocations: 12.34 kB / 0.7496 GB, free: 8.133 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.16317663085647] Failed to read output from testmodel.py, exit status != 0: 8.857677792897448 8.873030106 8.670871489 Calling exit ...