Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001261/0.001261, allocations: 180.7 kB / 377.1 MB, free: 1.488 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.59/1.59, allocations: 205.4 MB / 0.6366 GB, free: 8.492 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009498/0.0009497, allocations: 86.33 kB / 0.7509 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003305, allocations: 8 kB / 0.8749 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2682, allocations: 116.3 MB / 0.9884 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7342/1.002, allocations: 139.8 MB / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/1.003, allocations: 70.12 kB / 1.125 GB, free: 34.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03334/1.036, allocations: 10.41 MB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.937e-06/1.036, allocations: 4 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.036, allocations: 3.938 kB / 1.135 GB, free: 27.36 MB / 0.7292 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.001433/1.038, allocations: 0.6425 MB / 1.136 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.038, allocations: 16.02 kB / 1.136 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/1.038, allocations: 46.31 kB / 1.136 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/1.038, allocations: 23.47 kB / 1.136 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/1.038, allocations: 185.2 kB / 1.136 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/1.038, allocations: 127.6 kB / 1.136 GB, free: 26.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/1.038, allocations: 20.28 kB / 1.136 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/1.038, allocations: 230.7 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.038, allocations: 4 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/1.038, allocations: 8.828 kB / 1.136 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.039, allocations: 4 kB / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/1.039, allocations: 121.5 kB / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/1.039, allocations: 394 kB / 1.137 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/1.041, allocations: 496.9 kB / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/1.041, allocations: 22.03 kB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/1.041, allocations: 306.5 kB / 1.138 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/1.041, allocations: 0 / 1.138 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0007913/1.042, allocations: 411.5 kB / 1.138 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.042, allocations: 353.6 kB / 1.138 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/1.042, allocations: 153.7 kB / 1.139 GB, free: 23.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/1.042, allocations: 42.36 kB / 1.139 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/1.042, allocations: 99.06 kB / 1.139 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.406e-05/1.042, allocations: 108 kB / 1.139 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/1.042, allocations: 8 kB / 1.139 GB, free: 23.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.513e-05/1.043, allocations: 333.5 kB / 1.139 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/1.043, allocations: 115.4 kB / 1.139 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/1.043, allocations: 168.8 kB / 1.139 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/1.043, allocations: 123.9 kB / 1.14 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.043, allocations: 0 / 1.14 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006693/1.044, allocations: 373 kB / 1.14 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.044, allocations: 8 kB / 1.14 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.044, allocations: 0 / 1.14 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.044, allocations: 4 kB / 1.14 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/1.045, allocations: 80.23 kB / 1.14 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.045, allocations: 8.703 kB / 1.14 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/1.045, allocations: 55 kB / 1.14 GB, free: 22.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/1.045, allocations: 20.08 kB / 1.14 GB, free: 22.33 MB / 0.7292 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.0001382/1.045, allocations: 155.7 kB / 1.14 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/1.045, allocations: 28.47 kB / 1.14 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/1.046, allocations: 360.8 kB / 1.141 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/1.046, allocations: 12.19 kB / 1.141 GB, free: 21.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.046, allocations: 4 kB / 1.141 GB, free: 21.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.046, allocations: 7.359 kB / 1.141 GB, free: 21.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/1.046, allocations: 351.8 kB / 1.141 GB, free: 21.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.046, allocations: 8.562 kB / 1.141 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/1.047, allocations: 77.53 kB / 1.141 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/1.047, allocations: 8.641 kB / 1.141 GB, free: 21.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/1.047, allocations: 18.72 kB / 1.141 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/1.047, allocations: 8.609 kB / 1.141 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.047, allocations: 0 / 1.141 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/1.047, allocations: 0.6096 MB / 1.142 GB, free: 20.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/1.047, allocations: 150.3 kB / 1.142 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/1.048, allocations: 25.97 kB / 1.142 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/1.048, allocations: 31.39 kB / 1.142 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.048, allocations: 53.47 kB / 1.142 GB, free: 20.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/1.048, allocations: 30.11 kB / 1.142 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.154e-05/1.048, allocations: 127.4 kB / 1.142 GB, free: 20.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/1.048, allocations: 0 / 1.142 GB, free: 20.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008322/1.049, allocations: 227.9 kB / 1.142 GB, free: 20.09 MB / 0.7292 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.001605/1.05, allocations: 2.131 MB / 1.144 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006463/1.051, allocations: 322.4 kB / 1.145 GB, free: 17.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.051, allocations: 4 kB / 1.145 GB, free: 17.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000295/1.051, allocations: 184 kB / 1.145 GB, free: 17.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/1.052, allocations: 21.47 kB / 1.145 GB, free: 17.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/1.053, allocations: 1.448 MB / 1.146 GB, free: 16.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/1.054, allocations: 0.773 MB / 1.147 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002506/1.054, allocations: 54.88 kB / 1.147 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/1.054, allocations: 96.94 kB / 1.147 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.054, allocations: 0 / 1.147 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/1.076, allocations: 6.922 MB / 1.154 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/1.076, allocations: 190.7 kB / 1.154 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/3.282, allocations: 8.062 kB / 1.154 GB, free: 10.91 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)