Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.699/1.699, allocations: 288.2 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 185.7 kB / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.4 MB / 0.6305 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008855/0.0008855, allocations: 93.39 kB / 0.7439 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004819, allocations: 16.16 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.255, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7838/1.039, allocations: 138.8 MB / 1.115 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/1.039, allocations: 67.09 kB / 1.115 GB, free: 16.45 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.03002/1.069, allocations: 10.1 MB / 1.125 GB, free: 31.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/1.069, allocations: 0 / 1.125 GB, free: 31.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.069, allocations: 3.875 kB / 1.125 GB, free: 31.6 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001246/1.07, allocations: 0.6316 MB / 1.126 GB, free: 31.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.07, allocations: 15.45 kB / 1.126 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.915e-05/1.071, allocations: 49.55 kB / 1.126 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/1.071, allocations: 25.19 kB / 1.126 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/1.071, allocations: 186.1 kB / 1.126 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/1.071, allocations: 137.1 kB / 1.126 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/1.071, allocations: 19.78 kB / 1.126 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/1.071, allocations: 247.7 kB / 1.126 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.071, allocations: 7.781 kB / 1.126 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/1.071, allocations: 7.312 kB / 1.126 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.071, allocations: 3.875 kB / 1.126 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/1.071, allocations: 116.8 kB / 1.126 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008234/1.072, allocations: 0.9557 MB / 1.127 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/1.074, allocations: 490.7 kB / 1.128 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/1.074, allocations: 9.781 kB / 1.128 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/1.074, allocations: 308.4 kB / 1.128 GB, free: 29.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.986e-06/1.074, allocations: 3.984 kB / 1.128 GB, free: 29.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0006792/1.075, allocations: 394.5 kB / 1.128 GB, free: 29.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/1.075, allocations: 363.6 kB / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/1.075, allocations: 167.3 kB / 1.129 GB, free: 28.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/1.075, allocations: 38.39 kB / 1.129 GB, free: 28.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/1.075, allocations: 101.6 kB / 1.129 GB, free: 28.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/1.075, allocations: 112.1 kB / 1.129 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/1.075, allocations: 9.844 kB / 1.129 GB, free: 28.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.075, allocations: 329.8 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/1.076, allocations: 107.8 kB / 1.13 GB, free: 28.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/1.076, allocations: 178.3 kB / 1.13 GB, free: 28.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/1.076, allocations: 116.8 kB / 1.13 GB, free: 28.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.076, allocations: 0 / 1.13 GB, free: 28.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006215/1.077, allocations: 369.3 kB / 1.13 GB, free: 28.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.077, allocations: 7.75 kB / 1.13 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.077, allocations: 192 / 1.13 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.077, allocations: 7.5 kB / 1.13 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/1.077, allocations: 86.23 kB / 1.13 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.077, allocations: 3.906 kB / 1.13 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/1.078, allocations: 60.44 kB / 1.13 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/1.078, allocations: 22.97 kB / 1.13 GB, free: 28 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/1.078, allocations: 165.7 kB / 1.131 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/1.078, allocations: 23.31 kB / 1.131 GB, free: 27.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005828/1.078, allocations: 356.6 kB / 1.131 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.078, allocations: 7.844 kB / 1.131 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.078, allocations: 4 kB / 1.131 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.078, allocations: 7.859 kB / 1.131 GB, free: 27.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/1.079, allocations: 357.9 kB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.079, allocations: 7.953 kB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/1.079, allocations: 73.72 kB / 1.131 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/1.079, allocations: 3.906 kB / 1.131 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/1.079, allocations: 18.67 kB / 1.131 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.079, allocations: 3.875 kB / 1.131 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.079, allocations: 15.75 kB / 1.131 GB, free: 27.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/1.08, allocations: 0.6119 MB / 1.132 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/1.08, allocations: 150 kB / 1.132 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/1.08, allocations: 14.25 kB / 1.132 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/1.08, allocations: 41 kB / 1.132 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/1.08, allocations: 49.8 kB / 1.132 GB, free: 26.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/1.08, allocations: 26.14 kB / 1.132 GB, free: 26.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.911e-05/1.08, allocations: 123.3 kB / 1.132 GB, free: 26.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/1.08, allocations: 0 / 1.132 GB, free: 26.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006652/1.081, allocations: 212.3 kB / 1.133 GB, free: 26.71 MB / 0.698 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,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/1.083, allocations: 2.124 MB / 1.135 GB, free: 24.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005036/1.083, allocations: 314.2 kB / 1.135 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.083, allocations: 0 / 1.135 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/1.083, allocations: 183.6 kB / 1.135 GB, free: 24.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/1.084, allocations: 34.06 kB / 1.135 GB, free: 24.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/1.085, allocations: 2.053 MB / 1.137 GB, free: 23.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/1.086, allocations: 0.7709 MB / 1.138 GB, free: 22.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002192/1.086, allocations: 62.31 kB / 1.138 GB, free: 22.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/1.086, allocations: 92.11 kB / 1.138 GB, free: 22.22 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/1.086, allocations: 0 / 1.138 GB, free: 22.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/1.103, allocations: 6.825 MB / 1.145 GB, free: 18.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.103, allocations: 208.3 kB / 1.145 GB, free: 18.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/3.086, allocations: 0 / 1.145 GB, free: 18.68 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)