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.774/1.774, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001305/0.001305, allocations: 184.8 kB / 366.7 MB, free: 1.695 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.944/1.944, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008386/0.0008385, allocations: 80.34 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.906e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7211/0.7211, allocations: 116.3 MB / 0.9734 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/0.9619, allocations: 139.1 MB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.9622, allocations: 71.95 kB / 1.109 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04573/1.008, allocations: 10.32 MB / 1.119 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/1.008, allocations: 0 / 1.119 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.902e-05/1.008, allocations: 4 kB / 1.119 GB, free: 0.7148 MB / 0.7136 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.001808/1.01, allocations: 0.6172 MB / 1.12 GB, free: 56 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/1.01, allocations: 11.97 kB / 1.12 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/1.01, allocations: 19.81 kB / 1.12 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/1.01, allocations: 185.2 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/1.01, allocations: 8 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/1.011, allocations: 15.98 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003421/1.011, allocations: 91.89 kB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/1.011, allocations: 216.6 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/1.011, allocations: 4 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/1.011, allocations: 2.688 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/1.011, allocations: 5.781 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/1.012, allocations: 360.1 kB / 1.121 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/1.014, allocations: 479.6 kB / 1.121 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/1.014, allocations: 146.4 kB / 1.121 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.471e-05/1.014, allocations: 15.88 kB / 1.121 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005552/1.015, allocations: 287.2 kB / 1.122 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 4.749e-06/1.015, allocations: 0 / 1.122 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.003875/1.019, allocations: 0.5321 MB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001921/1.019, allocations: 350.1 kB / 1.123 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/1.019, allocations: 146.4 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/1.019, allocations: 33.7 kB / 1.123 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/1.02, allocations: 97.56 kB / 1.123 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.02, allocations: 114.5 kB / 1.123 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/1.02, allocations: 0 / 1.123 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.02, allocations: 330.8 kB / 1.123 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/1.02, allocations: 97.11 kB / 1.123 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/1.02, allocations: 143.9 kB / 1.123 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00506/1.026, allocations: 0.5036 MB / 1.124 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.026, allocations: 4 kB / 1.124 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005494/1.031, allocations: 0.7189 MB / 1.125 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/1.031, allocations: 4 kB / 1.125 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.031, allocations: 2.062 kB / 1.125 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/1.031, allocations: 4 kB / 1.125 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/1.032, allocations: 67.89 kB / 1.125 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.032, allocations: 0 / 1.125 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/1.032, allocations: 51.66 kB / 1.125 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.3e-05/1.032, allocations: 23.98 kB / 1.125 GB, free: 10.58 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0002338/1.033, allocations: 128 kB / 1.125 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003836/1.036, allocations: 0.5349 MB / 1.125 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/1.037, allocations: 23.72 kB / 1.125 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009876/1.038, allocations: 327 kB / 1.126 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/1.038, allocations: 11.56 kB / 1.126 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.038, allocations: 4 kB / 1.126 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/1.038, allocations: 7.984 kB / 1.126 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/1.038, allocations: 297.6 kB / 1.126 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.038, allocations: 4 kB / 1.126 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/1.039, allocations: 79.78 kB / 1.126 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/1.039, allocations: 8 kB / 1.126 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/1.039, allocations: 17.88 kB / 1.126 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/1.039, allocations: 7.938 kB / 1.126 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.039, allocations: 4 kB / 1.126 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004202/1.043, allocations: 0.8128 MB / 1.127 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/1.043, allocations: 152.5 kB / 1.127 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.044, allocations: 11.95 kB / 1.127 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/1.044, allocations: 33.78 kB / 1.127 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.044, allocations: 47.88 kB / 1.127 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/1.044, allocations: 23.98 kB / 1.127 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001834/1.045, allocations: 127.8 kB / 1.127 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.3e-07/1.045, allocations: 4 kB / 1.127 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001253/1.046, allocations: 211.7 kB / 1.128 GB, free: 7.543 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) * 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.00595/1.052, allocations: 2.323 MB / 1.13 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002751/1.055, allocations: 2.982 MB / 1.133 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.055, allocations: 4.031 kB / 1.133 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/1.055, allocations: 173.1 kB / 1.133 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/1.055, allocations: 6.531 kB / 1.133 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/1.057, allocations: 0.5417 MB / 1.133 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/1.058, allocations: 0.769 MB / 1.134 GB, free: 452 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003362/1.058, allocations: 49.92 kB / 1.134 GB, free: 408 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/1.058, allocations: 95.39 kB / 1.134 GB, free: 312 kB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/1.058, allocations: 0 / 1.134 GB, free: 312 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03489/1.093, allocations: 6.833 MB / 1.141 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.093, allocations: 145.2 kB / 1.141 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/3.28, allocations: 0 / 1.141 GB, free: 9.387 MB / 0.7448 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)