Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime",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.696/1.696, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001115/0.001115, allocations: 182.3 kB / 371.6 MB, free: 3.359 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.945/1.945, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009569/0.000957, allocations: 87 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.566e-05/6.581e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3065, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9501/1.257, allocations: 139.7 MB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/1.257, allocations: 73.2 kB / 1.116 GB, free: 44.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03049/1.287, allocations: 10.36 MB / 1.127 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.583e-06/1.287, allocations: 0 / 1.127 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.241e-05/1.288, allocations: 5.125 kB / 1.127 GB, free: 38.2 MB / 0.7448 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.001293/1.289, allocations: 0.6191 MB / 1.127 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.289, allocations: 12.03 kB / 1.127 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.649e-05/1.289, allocations: 47.25 kB / 1.127 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/1.289, allocations: 21.53 kB / 1.127 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/1.289, allocations: 189.1 kB / 1.127 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1.289, allocations: 131.4 kB / 1.128 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/1.289, allocations: 19.44 kB / 1.128 GB, free: 37.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/1.29, allocations: 235.8 kB / 1.128 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.29, allocations: 7.938 kB / 1.128 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/1.29, allocations: 3.062 kB / 1.128 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/1.29, allocations: 4 kB / 1.128 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/1.29, allocations: 107.7 kB / 1.128 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/1.29, allocations: 407.4 kB / 1.128 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/1.292, allocations: 493.7 kB / 1.129 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/1.292, allocations: 150.5 kB / 1.129 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/1.292, allocations: 19.3 kB / 1.129 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/1.292, allocations: 300.6 kB / 1.129 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.815e-06/1.292, allocations: 0 / 1.129 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0006074/1.293, allocations: 320 kB / 1.129 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/1.293, allocations: 357.9 kB / 1.13 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/1.293, allocations: 159.9 kB / 1.13 GB, free: 34.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/1.293, allocations: 36.89 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/1.293, allocations: 96.52 kB / 1.13 GB, free: 34.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/1.293, allocations: 108.2 kB / 1.13 GB, free: 34.63 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/1.294, allocations: 11.19 kB / 1.13 GB, free: 34.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/1.294, allocations: 333.2 kB / 1.131 GB, free: 34.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/1.294, allocations: 107.2 kB / 1.131 GB, free: 34.24 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/1.294, allocations: 157.8 kB / 1.131 GB, free: 34.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/1.294, allocations: 118.2 kB / 1.131 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.294, allocations: 0 / 1.131 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005599/1.295, allocations: 346.8 kB / 1.131 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.295, allocations: 4 kB / 1.131 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.295, allocations: 4 kB / 1.131 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.295, allocations: 4 kB / 1.131 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/1.295, allocations: 80.83 kB / 1.131 GB, free: 33.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.295, allocations: 8.5 kB / 1.131 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/1.296, allocations: 50.23 kB / 1.131 GB, free: 33.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/1.296, allocations: 19.12 kB / 1.131 GB, free: 33.7 MB / 0.7448 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): 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.0001124/1.296, allocations: 146.7 kB / 1.132 GB, free: 33.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/1.296, allocations: 23.72 kB / 1.132 GB, free: 33.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000636/1.296, allocations: 358.9 kB / 1.132 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/1.296, allocations: 13.31 kB / 1.132 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.296, allocations: 7.469 kB / 1.132 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.296, allocations: 0 / 1.132 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/1.297, allocations: 359.3 kB / 1.132 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.297, allocations: 0.625 kB / 1.132 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/1.297, allocations: 70.84 kB / 1.132 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/1.297, allocations: 7.938 kB / 1.132 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/1.297, allocations: 19.11 kB / 1.132 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/1.297, allocations: 12.94 kB / 1.132 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.297, allocations: 0 / 1.132 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/1.298, allocations: 0.6054 MB / 1.133 GB, free: 32.35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/1.298, allocations: 153.8 kB / 1.133 GB, free: 32.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/1.298, allocations: 18.92 kB / 1.133 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/1.298, allocations: 38.78 kB / 1.133 GB, free: 32.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.299, allocations: 57.84 kB / 1.133 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/1.299, allocations: 19.94 kB / 1.133 GB, free: 32.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.183e-05/1.299, allocations: 133.2 kB / 1.133 GB, free: 32.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.299, allocations: 0 / 1.133 GB, free: 32.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006785/1.299, allocations: 222.1 kB / 1.134 GB, free: 31.82 MB / 0.7448 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.001661/1.301, allocations: 2.132 MB / 1.136 GB, free: 29.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005243/1.302, allocations: 312.1 kB / 1.136 GB, free: 29.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.302, allocations: 0 / 1.136 GB, free: 29.56 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/1.302, allocations: 187 kB / 1.136 GB, free: 29.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/1.302, allocations: 20.53 kB / 1.136 GB, free: 29.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/1.303, allocations: 0.5857 MB / 1.137 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/1.303, allocations: 0.7684 MB / 1.137 GB, free: 28.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002363/1.304, allocations: 56.44 kB / 1.138 GB, free: 28.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/1.304, allocations: 98.62 kB / 1.138 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.304, allocations: 0 / 1.138 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/1.327, allocations: 7.13 MB / 1.145 GB, free: 23.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/1.327, allocations: 181.4 kB / 1.145 GB, free: 23.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/3.34, allocations: 4 kB / 1.145 GB, free: 23.76 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime_fmu --startTime=43200 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1)