Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.33/2.33, allocations: 248.7 MB / 256.2 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 176.8 kB / 315.4 MB, free: 3.996 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.057/2.057, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001175, allocations: 101.9 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.243e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2231, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.901/1.124, allocations: 133.5 MB / 1.014 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.124, allocations: 66.14 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54:32: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.0556/1.18, allocations: 10.28 MB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.034e-06/1.18, allocations: 4 kB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.291e-05/1.18, allocations: 4 kB / 1.025 GB, free: 12.53 MB / 0.6511 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.001937/1.182, allocations: 0.6147 MB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/1.182, allocations: 12.03 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/1.182, allocations: 27.72 kB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/1.183, allocations: 190.6 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/1.183, allocations: 4 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.801e-05/1.183, allocations: 18.92 kB / 1.025 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00036/1.183, allocations: 86.59 kB / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/1.184, allocations: 226.6 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.184, allocations: 0 / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/1.184, allocations: 7.984 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/1.184, allocations: 4 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/1.185, allocations: 0.9109 MB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/1.187, allocations: 476.5 kB / 1.027 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/1.188, allocations: 142.6 kB / 1.027 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.756e-05/1.188, allocations: 15.92 kB / 1.027 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005792/1.188, allocations: 289.5 kB / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 3.326e-06/1.188, allocations: 0 / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.003749/1.192, allocations: 0.4889 MB / 1.028 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/1.192, allocations: 353.6 kB / 1.028 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/1.193, allocations: 151 kB / 1.028 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/1.193, allocations: 33.39 kB / 1.028 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/1.193, allocations: 104.6 kB / 1.029 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/1.193, allocations: 120.8 kB / 1.029 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/1.193, allocations: 0 / 1.029 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.193, allocations: 330.2 kB / 1.029 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/1.193, allocations: 93.98 kB / 1.029 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/1.194, allocations: 151.3 kB / 1.029 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004836/1.199, allocations: 443.9 kB / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.199, allocations: 0 / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005513/1.204, allocations: 0.654 MB / 1.03 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/1.204, allocations: 4 kB / 1.03 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.204, allocations: 4 kB / 1.03 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/1.204, allocations: 4 kB / 1.03 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/1.205, allocations: 67.02 kB / 1.03 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/1.205, allocations: 4 kB / 1.03 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/1.205, allocations: 59.61 kB / 1.03 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.894e-05/1.206, allocations: 19.11 kB / 1.03 GB, free: 6.477 MB / 0.6511 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 () * 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.0001961/1.206, allocations: 119.4 kB / 1.031 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003774/1.21, allocations: 0.4976 MB / 1.031 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/1.21, allocations: 23.92 kB / 1.031 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/1.211, allocations: 331.5 kB / 1.031 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/1.211, allocations: 15.95 kB / 1.031 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.211, allocations: 4 kB / 1.031 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/1.211, allocations: 3.984 kB / 1.031 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/1.212, allocations: 299.6 kB / 1.032 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.212, allocations: 8.125 kB / 1.032 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009658/1.213, allocations: 75.59 kB / 1.032 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-05/1.213, allocations: 4 kB / 1.032 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.213, allocations: 15.97 kB / 1.032 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.046e-05/1.213, allocations: 7.938 kB / 1.032 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/1.213, allocations: 4.781 kB / 1.032 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00667/1.219, allocations: 0.7814 MB / 1.033 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/1.22, allocations: 148.9 kB / 1.033 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.22, allocations: 12 kB / 1.033 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/1.221, allocations: 27.97 kB / 1.033 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/1.221, allocations: 49.52 kB / 1.033 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/1.221, allocations: 26.98 kB / 1.033 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00021/1.221, allocations: 132.7 kB / 1.033 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.61e-07/1.221, allocations: 384 / 1.033 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001537/1.223, allocations: 199.7 kB / 1.033 GB, free: 3.84 MB / 0.6511 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) * 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.006523/1.229, allocations: 2.271 MB / 1.035 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002533/1.232, allocations: 2.975 MB / 1.038 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.232, allocations: 0 / 1.038 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005202/1.233, allocations: 163.8 kB / 1.038 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/1.233, allocations: 14.19 kB / 1.038 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/1.235, allocations: 0.53 MB / 1.039 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/1.235, allocations: 0.7728 MB / 1.04 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004002/1.236, allocations: 48 kB / 1.04 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/1.236, allocations: 89.83 kB / 1.04 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of SimCode: time 9.72e-07/1.236, allocations: 0 / 1.04 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05437/1.29, allocations: 6.743 MB / 1.046 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/1.291, allocations: 153.5 kB / 1.047 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.996, allocations: 3.938 kB / 1.047 GB, free: 6.117 MB / 0.6667 GB