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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 110.8 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001902, allocations: 190.8 kB / 20.03 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.117/1.117, allocations: 147.6 MB / 445.6 MB, free: 8.453 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 0.6109 GB, free: 16 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4287, allocations: 83.15 MB / 0.6921 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001953/0.4307, allocations: 0.8846 MB / 0.6929 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.4338, allocations: 2.473 MB / 0.6954 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-05/0.4339, allocations: 5.312 kB / 0.6954 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.434, allocations: 11.81 kB / 0.6954 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.4342, allocations: 53.06 kB / 0.6954 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.4355, allocations: 497.8 kB / 0.6959 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.4359, allocations: 317.5 kB / 0.6962 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.541e-05/0.436, allocations: 11.12 kB / 0.6962 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.4362, allocations: 144.3 kB / 0.6963 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.4365, allocations: 147.1 kB / 0.6965 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.336e-05/0.4365, allocations: 27.11 kB / 0.6965 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007531/0.4373, allocations: 377.6 kB / 0.6969 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.4374, allocations: 68.14 kB / 0.6969 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.4376, allocations: 114.3 kB / 0.697 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007966/0.4384, allocations: 0.5492 MB / 0.6976 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4384, allocations: 0 / 0.6976 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4384, allocations: 5.406 kB / 0.6976 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4384, allocations: 0 / 0.6976 GB, free: 9.453 MB / 0.5137 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.001446/0.4398, allocations: 0.6774 MB / 0.6983 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4399, allocations: 8.031 kB / 0.6983 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.288e-05/0.44, allocations: 42.73 kB / 0.6983 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.693e-05/0.44, allocations: 24.84 kB / 0.6983 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.4402, allocations: 196.8 kB / 0.6985 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.4404, allocations: 131.3 kB / 0.6986 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.4404, allocations: 24.12 kB / 0.6987 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.4408, allocations: 243.7 kB / 0.6989 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4408, allocations: 7.938 kB / 0.6989 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.4409, allocations: 4 kB / 0.6989 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4409, allocations: 4 kB / 0.6989 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.4411, allocations: 115.8 kB / 0.699 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.4417, allocations: 403.1 kB / 0.6994 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.4432, allocations: 491.3 kB / 0.6999 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.4435, allocations: 166.2 kB / 0.7 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.522e-05/0.4435, allocations: 11.92 kB / 0.7 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/0.4441, allocations: 311.7 kB / 0.7003 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.4441, allocations: 0 / 0.7003 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.0008737/0.445, allocations: 413.7 kB / 0.7007 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002422/0.4452, allocations: 350.6 kB / 0.7011 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.4454, allocations: 178.1 kB / 0.7012 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.4455, allocations: 37.7 kB / 0.7013 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.4456, allocations: 101.1 kB / 0.7014 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4457, allocations: 111.1 kB / 0.7015 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.4458, allocations: 102.2 kB / 0.7016 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.446, allocations: 334.8 kB / 0.7019 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.4463, allocations: 117.1 kB / 0.702 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.4466, allocations: 169 kB / 0.7022 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.4472, allocations: 264.1 kB / 0.7024 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4472, allocations: 4 kB / 0.7024 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008015/0.448, allocations: 380.5 kB / 0.7028 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4481, allocations: 12 kB / 0.7028 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4481, allocations: 0 / 0.7028 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4481, allocations: 4 kB / 0.7028 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.4485, allocations: 75.88 kB / 0.7029 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4485, allocations: 4 kB / 0.7029 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.4488, allocations: 47.75 kB / 0.7029 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.4489, allocations: 20.98 kB / 0.7029 GB, free: 3.406 MB / 0.5137 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.0001865/0.4491, allocations: 165.6 kB / 0.7031 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.4491, allocations: 23.86 kB / 0.7031 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007097/0.4498, allocations: 362.2 kB / 0.7035 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4499, allocations: 15.94 kB / 0.7035 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4499, allocations: 0 / 0.7035 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.4499, allocations: 7.984 kB / 0.7035 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.4503, allocations: 345.2 kB / 0.7038 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4503, allocations: 8 kB / 0.7038 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.4506, allocations: 75.89 kB / 0.7039 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4507, allocations: 4 kB / 0.7039 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.4507, allocations: 16 kB / 0.7039 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.4507, allocations: 15.86 kB / 0.7039 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.4507, allocations: 7.984 kB / 0.7039 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000759/0.4515, allocations: 498.1 kB / 0.7044 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.4517, allocations: 152.7 kB / 0.7046 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.4517, allocations: 23.98 kB / 0.7046 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.452, allocations: 31.97 kB / 0.7046 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4521, allocations: 47.83 kB / 0.7047 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.4521, allocations: 24.23 kB / 0.7047 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000105/0.4523, allocations: 127.2 kB / 0.7048 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4523, allocations: 4 kB / 0.7048 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006243/0.4529, allocations: 223.2 kB / 0.705 GB, free: 1.129 MB / 0.5137 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.001546/0.4544, allocations: 1.248 MB / 0.7062 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007411/0.4552, allocations: 338 kB / 0.7066 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4552, allocations: 4 kB / 0.7066 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.4555, allocations: 191.6 kB / 0.7067 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.4558, allocations: 29.48 kB / 0.7068 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.4598, allocations: 2.769 MB / 0.7095 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.4602, allocations: 0.7608 MB / 0.7102 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.4605, allocations: 59.25 kB / 0.7103 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.4607, allocations: 95.38 kB / 0.7104 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.4607, allocations: 8 kB / 0.7104 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.4912, allocations: 7.845 MB / 0.718 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.85, allocations: 12.06 kB / 0.7181 GB, free: 3.645 MB / 0.5294 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: 12.96950970380567] Failed to read output from testmodel.py, exit status != 0: 8.924587342189625 8.952664317 8.509375303 Calling exit ...