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.001451/0.001451, allocations: 111.4 kB / 17.08 MB, free: 5.973 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.001579/0.001579, allocations: 193.2 kB / 20.03 MB, free: 3.043 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.517/1.517, allocations: 222.9 MB / 245.7 MB, free: 4.184 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.129/1.129, allocations: 147.6 MB / 445.5 MB, free: 8.297 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.2505/0.2505, allocations: 64.52 kB / 0.6109 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.4254, allocations: 83.15 MB / 0.6921 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.003383/0.4289, allocations: 0.8761 MB / 0.6929 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003988/0.4329, allocations: 2.476 MB / 0.6954 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.4331, allocations: 1.281 kB / 0.6954 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.56e-05/0.4332, allocations: 11.81 kB / 0.6954 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.4335, allocations: 53.56 kB / 0.6954 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.4349, allocations: 0.4909 MB / 0.6959 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.4353, allocations: 317.9 kB / 0.6962 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.084e-05/0.4353, allocations: 11.31 kB / 0.6962 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.4356, allocations: 144.2 kB / 0.6964 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.4358, allocations: 154.3 kB / 0.6965 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.4359, allocations: 23.38 kB / 0.6965 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000695/0.4366, allocations: 374 kB / 0.6969 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.06e-05/0.4367, allocations: 72.16 kB / 0.6969 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.4368, allocations: 117.6 kB / 0.6971 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.4377, allocations: 0.5486 MB / 0.6976 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4377, allocations: 0 / 0.6976 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4377, allocations: 0 / 0.6976 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.4378, allocations: 0 / 0.6976 GB, free: 9.328 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.001525/0.4393, allocations: 0.6752 MB / 0.6983 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4393, allocations: 8.031 kB / 0.6983 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.4394, allocations: 50.73 kB / 0.6983 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.4395, allocations: 20.84 kB / 0.6983 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.4397, allocations: 192.8 kB / 0.6985 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.4399, allocations: 127.4 kB / 0.6986 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.44, allocations: 24.36 kB / 0.6987 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.4404, allocations: 247.6 kB / 0.6989 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4404, allocations: 3.938 kB / 0.6989 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.4404, allocations: 11.97 kB / 0.6989 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4404, allocations: 8 kB / 0.6989 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.4407, allocations: 107.8 kB / 0.699 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.4413, allocations: 411.1 kB / 0.6994 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.4428, allocations: 487.3 kB / 0.6999 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.4431, allocations: 158.3 kB / 0.7 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/0.4431, allocations: 15.86 kB / 0.7 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000624/0.4438, allocations: 307.7 kB / 0.7003 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.4438, allocations: 0 / 0.7003 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.0009178/0.4447, allocations: 414.6 kB / 0.7007 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002616/0.445, allocations: 354.6 kB / 0.7011 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.4452, allocations: 170.1 kB / 0.7012 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.4452, allocations: 41.69 kB / 0.7013 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.4453, allocations: 97.09 kB / 0.7014 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4455, allocations: 115.1 kB / 0.7015 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.4456, allocations: 98.17 kB / 0.7016 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4458, allocations: 334.8 kB / 0.7019 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.4461, allocations: 121.1 kB / 0.702 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.4465, allocations: 168.9 kB / 0.7022 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006028/0.4471, allocations: 272.5 kB / 0.7024 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4471, allocations: 0 / 0.7024 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008457/0.448, allocations: 378.6 kB / 0.7028 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.448, allocations: 8 kB / 0.7028 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.448, allocations: 0 / 0.7028 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.448, allocations: 7.984 kB / 0.7028 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.4484, allocations: 71.98 kB / 0.7029 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4485, allocations: 4 kB / 0.7029 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.4488, allocations: 51.75 kB / 0.7029 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.4488, allocations: 23.97 kB / 0.7029 GB, free: 3.254 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.0001993/0.449, allocations: 159.2 kB / 0.7031 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.4491, allocations: 27.8 kB / 0.7031 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006943/0.4498, allocations: 358.1 kB / 0.7035 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4498, allocations: 12 kB / 0.7035 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.4498, allocations: 8 kB / 0.7035 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4499, allocations: 7.922 kB / 0.7035 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.4503, allocations: 349.2 kB / 0.7038 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4504, allocations: 3.984 kB / 0.7038 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.4506, allocations: 72.16 kB / 0.7039 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.4507, allocations: 4 kB / 0.7039 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.4507, allocations: 23.98 kB / 0.7039 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/0.4507, allocations: 11.94 kB / 0.7039 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4507, allocations: 3.938 kB / 0.7039 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.4516, allocations: 0.4901 MB / 0.7044 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.4518, allocations: 152.7 kB / 0.7046 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.4518, allocations: 16 kB / 0.7046 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.4521, allocations: 31.97 kB / 0.7046 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.4522, allocations: 51.81 kB / 0.7047 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.4523, allocations: 24 kB / 0.7047 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000133/0.4524, allocations: 135.2 kB / 0.7048 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4524, allocations: 0 / 0.7048 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006565/0.4531, allocations: 219.2 kB / 0.705 GB, free: 0.9844 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.001545/0.4546, allocations: 1.244 MB / 0.7062 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000704/0.4554, allocations: 342 kB / 0.7066 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4554, allocations: 0 / 0.7066 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.4557, allocations: 196.1 kB / 0.7067 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.456, allocations: 34.88 kB / 0.7068 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.4599, allocations: 2.766 MB / 0.7095 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.4603, allocations: 0.7649 MB / 0.7102 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.4605, allocations: 55.27 kB / 0.7103 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.4607, allocations: 99.38 kB / 0.7104 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.4607, allocations: 0 / 0.7104 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.4925, allocations: 7.851 MB / 0.718 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/8.907, allocations: 6.344 kB / 0.718 GB, free: 3.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 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.676530721131712] Failed to read output from testmodel.py, exit status != 0: 8.980270812986419 9.001477303 8.559588435 Calling exit ...