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.331/2.331, allocations: 248.5 MB / 261 MB, free: 6 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.001446/0.001445, allocations: 182.3 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001083/0.001083, allocations: 94.72 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.365e-05/4.399e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2182, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8709/1.089, allocations: 133.2 MB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.09, allocations: 73.52 kB / 1.021 GB, free: 1.996 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.0577/1.147, allocations: 10.32 MB / 1.031 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.065e-06/1.147, allocations: 0 / 1.031 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.307e-05/1.147, allocations: 7.938 kB / 1.031 GB, free: 9.059 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.002771/1.15, allocations: 0.6137 MB / 1.032 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/1.15, allocations: 8.031 kB / 1.032 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/1.15, allocations: 49.55 kB / 1.032 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/1.151, allocations: 23.72 kB / 1.032 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/1.151, allocations: 198.6 kB / 1.032 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/1.151, allocations: 130.5 kB / 1.032 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/1.151, allocations: 19.25 kB / 1.032 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007618/1.152, allocations: 241.1 kB / 1.032 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.152, allocations: 3.938 kB / 1.032 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/1.152, allocations: 7.125 kB / 1.032 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/1.152, allocations: 8 kB / 1.032 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/1.153, allocations: 113.3 kB / 1.032 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/1.155, allocations: 0.9591 MB / 1.033 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/1.158, allocations: 484.4 kB / 1.034 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/1.159, allocations: 146.7 kB / 1.034 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.942e-05/1.159, allocations: 23.3 kB / 1.034 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000891/1.16, allocations: 304.1 kB / 1.034 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=40): time 5.02e-06/1.16, allocations: 0 / 1.034 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.001683/1.162, allocations: 315.2 kB / 1.034 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002654/1.162, allocations: 357.6 kB / 1.035 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/1.162, allocations: 152.4 kB / 1.035 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/1.163, allocations: 40.02 kB / 1.035 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.163, allocations: 100.3 kB / 1.035 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/1.163, allocations: 120 kB / 1.035 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/1.163, allocations: 11.44 kB / 1.035 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000211/1.163, allocations: 333.1 kB / 1.036 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/1.164, allocations: 97.48 kB / 1.036 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/1.164, allocations: 165.8 kB / 1.036 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/1.165, allocations: 104.7 kB / 1.036 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.165, allocations: 0 / 1.036 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00123/1.166, allocations: 356.6 kB / 1.036 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.166, allocations: 4 kB / 1.036 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.166, allocations: 4.062 kB / 1.036 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/1.166, allocations: 11.95 kB / 1.036 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/1.167, allocations: 77.62 kB / 1.036 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/1.167, allocations: 15.91 kB / 1.036 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/1.168, allocations: 58.98 kB / 1.036 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/1.168, allocations: 19.92 kB / 1.036 GB, free: 3.48 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): 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.0002007/1.168, allocations: 142.3 kB / 1.037 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/1.168, allocations: 23.72 kB / 1.037 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/1.169, allocations: 354.4 kB / 1.037 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/1.169, allocations: 11.95 kB / 1.037 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.169, allocations: 4 kB / 1.037 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/1.169, allocations: 8.172 kB / 1.037 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/1.17, allocations: 351.8 kB / 1.037 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.17, allocations: 4 kB / 1.037 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/1.171, allocations: 75.83 kB / 1.037 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-05/1.171, allocations: 7.984 kB / 1.037 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/1.171, allocations: 18.44 kB / 1.037 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/1.171, allocations: 7.984 kB / 1.037 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.171, allocations: 7.953 kB / 1.037 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/1.172, allocations: 0.5997 MB / 1.038 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/1.172, allocations: 150 kB / 1.038 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/1.172, allocations: 19 kB / 1.038 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/1.173, allocations: 42.91 kB / 1.038 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.173, allocations: 50.45 kB / 1.038 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/1.173, allocations: 23.3 kB / 1.038 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001673/1.173, allocations: 132 kB / 1.038 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.173, allocations: 0 / 1.038 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009813/1.174, allocations: 215 kB / 1.039 GB, free: 1.391 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.00267/1.177, allocations: 2.1 MB / 1.041 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001017/1.178, allocations: 305 kB / 1.041 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.178, allocations: 0 / 1.041 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004852/1.179, allocations: 174.2 kB / 1.041 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/1.179, allocations: 26.8 kB / 1.041 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/1.182, allocations: 0.5776 MB / 1.042 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/1.182, allocations: 0.7688 MB / 1.042 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004141/1.182, allocations: 54.94 kB / 1.042 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/1.183, allocations: 96.69 kB / 1.043 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of SimCode: time 1.092e-06/1.183, allocations: 0 / 1.043 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/1.218, allocations: 7.009 MB / 1.049 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000435/1.218, allocations: 166 kB / 1.05 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.907/4.125, allocations: 2.812 kB / 1.05 GB, free: 6.363 MB / 0.6667 GB