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.459/1.459, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001339/0.001339, allocations: 185.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009387/0.0009386, allocations: 100.4 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 8.781 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2938, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.5109, allocations: 132.7 MB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5112, allocations: 71.97 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03443/0.5457, allocations: 10.42 MB / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.337e-06/0.5457, allocations: 3.938 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.5458, allocations: 4 kB / 1.04 GB, free: 388 kB / 0.6823 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.001646/0.5474, allocations: 0.6344 MB / 1.041 GB, free: 15.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.5475, allocations: 12.03 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.829e-05/0.5476, allocations: 46.55 kB / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.5477, allocations: 27.7 kB / 1.041 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.5479, allocations: 191.4 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.5481, allocations: 134.8 kB / 1.041 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.5481, allocations: 16 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.5485, allocations: 235.8 kB / 1.041 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.5485, allocations: 0 / 1.041 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.5486, allocations: 8 kB / 1.041 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.5486, allocations: 4 kB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.5488, allocations: 115.7 kB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.5494, allocations: 395.2 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.5508, allocations: 499.5 kB / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-05/0.5509, allocations: 16.06 kB / 1.042 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005124/0.5514, allocations: 308.1 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 4.408e-06/0.5514, allocations: 11.88 kB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0008969/0.5523, allocations: 401 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/0.5525, allocations: 350.1 kB / 1.043 GB, free: 12.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.5527, allocations: 161.2 kB / 1.043 GB, free: 12.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.5528, allocations: 38.2 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.5529, allocations: 105 kB / 1.044 GB, free: 12.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.553, allocations: 106.6 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.553, allocations: 8 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5532, allocations: 334.8 kB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.5535, allocations: 113.1 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.5538, allocations: 168.9 kB / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.5541, allocations: 126.7 kB / 1.044 GB, free: 11.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5541, allocations: 0 / 1.044 GB, free: 11.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007536/0.5548, allocations: 368.8 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5549, allocations: 4 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5549, allocations: 0 / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5549, allocations: 4 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.5553, allocations: 83.81 kB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.5553, allocations: 1 kB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.5557, allocations: 63.66 kB / 1.045 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.5557, allocations: 19.98 kB / 1.045 GB, free: 10.83 MB / 0.698 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.0001898/0.5559, allocations: 158.5 kB / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.556, allocations: 23.72 kB / 1.045 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006815/0.5567, allocations: 366 kB / 1.045 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5567, allocations: 8 kB / 1.045 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5567, allocations: 4 kB / 1.045 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.5568, allocations: 7.984 kB / 1.045 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.5572, allocations: 349.1 kB / 1.046 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.5572, allocations: 7.984 kB / 1.046 GB, free: 9.855 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.5575, allocations: 75.84 kB / 1.046 GB, free: 9.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.5575, allocations: 4 kB / 1.046 GB, free: 9.777 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.5576, allocations: 19.98 kB / 1.046 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.5576, allocations: 4 kB / 1.046 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5576, allocations: 4 kB / 1.046 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008254/0.5584, allocations: 0.6062 MB / 1.047 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.5586, allocations: 164.5 kB / 1.047 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.5587, allocations: 15.94 kB / 1.047 GB, free: 8.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.559, allocations: 44.22 kB / 1.047 GB, free: 8.785 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.5591, allocations: 47.88 kB / 1.047 GB, free: 8.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.5592, allocations: 27.98 kB / 1.047 GB, free: 8.711 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001198/0.5593, allocations: 131.8 kB / 1.047 GB, free: 8.582 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5593, allocations: 0 / 1.047 GB, free: 8.582 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008588/0.5602, allocations: 231.5 kB / 1.047 GB, free: 8.355 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,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 (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.00238/0.5626, allocations: 2.125 MB / 1.049 GB, free: 6.129 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006613/0.5632, allocations: 333.5 kB / 1.05 GB, free: 5.805 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5633, allocations: 0 / 1.05 GB, free: 5.805 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.5635, allocations: 179.7 kB / 1.05 GB, free: 5.629 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.5638, allocations: 24.17 kB / 1.05 GB, free: 5.602 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.5656, allocations: 1.433 MB / 1.051 GB, free: 4.074 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.5659, allocations: 0.7691 MB / 1.052 GB, free: 3.281 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.5662, allocations: 63.23 kB / 1.052 GB, free: 3.219 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.5664, allocations: 96.89 kB / 1.052 GB, free: 3.125 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.5664, allocations: 0 / 1.052 GB, free: 3.125 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4109/0.9773, allocations: 6.935 MB / 1.059 GB, free: 148.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.9775, allocations: 199.1 kB / 1.059 GB, free: 148.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/3.02, allocations: 0 / 1.059 GB, free: 148.1 MB / 0.698 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)