Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.315/1.315, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008855/0.0008853, allocations: 171.1 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006713/0.0006715, allocations: 79.98 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003083, allocations: 13.5 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1925, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.0008816/0.1934, allocations: 0.6494 MB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1957, allocations: 2.578 MB / 0.8994 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.1958, allocations: 3.938 kB / 0.8994 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.1959, allocations: 3.938 kB / 0.8994 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.196, allocations: 47.67 kB / 0.8994 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.1967, allocations: 414.8 kB / 0.8998 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1969, allocations: 299.1 kB / 0.9001 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.1969, allocations: 17.67 kB / 0.9001 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.1971, allocations: 131.5 kB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.1972, allocations: 147.5 kB / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.1973, allocations: 16 kB / 0.9004 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.1976, allocations: 303.7 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.1977, allocations: 63.83 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.659e-05/0.1978, allocations: 107.5 kB / 0.9008 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.1982, allocations: 0.5299 MB / 0.9014 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1982, allocations: 0 / 0.9014 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1983, allocations: 0 / 0.9014 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1983, allocations: 7.938 kB / 0.9014 GB, free: 62.75 MB / 0.6042 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.001018/0.1993, allocations: 0.6178 MB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1993, allocations: 12.03 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.1994, allocations: 46.73 kB / 0.902 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.1995, allocations: 24.66 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.1995, allocations: 200.8 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.1997, allocations: 123.4 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.1997, allocations: 24.38 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.2, allocations: 231.7 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2, allocations: 7.922 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.2, allocations: 8 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2, allocations: 4 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.2002, allocations: 111.8 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.2005, allocations: 395.1 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.2017, allocations: 0.4915 MB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.2018, allocations: 158.3 kB / 0.9037 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.2019, allocations: 11.94 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.2022, allocations: 316.2 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.2022, allocations: 0 / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006447/0.2029, allocations: 413.7 kB / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.203, allocations: 354.6 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.2031, allocations: 178 kB / 0.905 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.2031, allocations: 41.7 kB / 0.905 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.2031, allocations: 93.14 kB / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.2032, allocations: 114.4 kB / 0.9052 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.2033, allocations: 45.7 kB / 0.9052 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.2033, allocations: 334.8 kB / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.2035, allocations: 117 kB / 0.9057 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.2038, allocations: 165 kB / 0.9058 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.2042, allocations: 268.3 kB / 0.9061 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2042, allocations: 0 / 0.9061 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005868/0.2048, allocations: 374.9 kB / 0.9064 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2048, allocations: 11.98 kB / 0.9065 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2049, allocations: 8.125 kB / 0.9065 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2049, allocations: 7.938 kB / 0.9065 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.2052, allocations: 75.89 kB / 0.9065 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2052, allocations: 7.984 kB / 0.9065 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.2055, allocations: 47.67 kB / 0.9066 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.2055, allocations: 23.98 kB / 0.9066 GB, free: 56.79 MB / 0.6042 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.0001081/0.2056, allocations: 161.6 kB / 0.9068 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.2057, allocations: 27.66 kB / 0.9068 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.2062, allocations: 354.9 kB / 0.9071 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2062, allocations: 11.94 kB / 0.9071 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2063, allocations: 4 kB / 0.9071 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.2063, allocations: 7.984 kB / 0.9072 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.2065, allocations: 353.2 kB / 0.9075 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2065, allocations: 4 kB / 0.9075 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.2068, allocations: 75.84 kB / 0.9076 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.2068, allocations: 7.984 kB / 0.9076 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.2068, allocations: 19.98 kB / 0.9076 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2068, allocations: 8 kB / 0.9076 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2069, allocations: 7.938 kB / 0.9076 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.2074, allocations: 0.4941 MB / 0.9081 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.2075, allocations: 148.6 kB / 0.9082 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.2076, allocations: 19.91 kB / 0.9083 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2078, allocations: 39.97 kB / 0.9083 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.2079, allocations: 51.88 kB / 0.9083 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.2079, allocations: 23.98 kB / 0.9084 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.139e-05/0.208, allocations: 127.8 kB / 0.9085 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.208, allocations: 0 / 0.9085 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004309/0.2084, allocations: 223.7 kB / 0.9087 GB, free: 54.51 MB / 0.6042 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.001021/0.2094, allocations: 1.237 MB / 0.9099 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.2099, allocations: 324.5 kB / 0.9102 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.21, allocations: 0 / 0.9102 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.2102, allocations: 192.4 kB / 0.9104 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.2105, allocations: 36.78 kB / 0.9104 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.2132, allocations: 2.852 MB / 0.9132 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.2133, allocations: 0.7617 MB / 0.914 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.2135, allocations: 58.88 kB / 0.914 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2137, allocations: 91.39 kB / 0.9141 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2137, allocations: 0 / 0.9141 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4162/0.6299, allocations: 7.288 MB / 0.9212 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.6301, allocations: 217.8 kB / 0.9214 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.61, allocations: 0 / 0.9214 GB, free: 41.35 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)