Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 288.4 MB / 303.3 MB, free: 8.051 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.001036/0.001036, allocations: 186.1 kB / 372 MB, free: 10.25 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.493/1.493, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000816/0.000816, allocations: 82.42 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 11.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2663, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001179/0.2675, allocations: 0.5796 MB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.2701, allocations: 2.334 MB / 0.9825 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.2702, allocations: 3.938 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.2702, allocations: 3.938 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.2705, allocations: 39.69 kB / 0.9825 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.2711, allocations: 371 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.2713, allocations: 255.2 kB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.602e-05/0.2714, allocations: 21.59 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.2716, allocations: 123.7 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.2718, allocations: 139.5 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.2718, allocations: 12 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.2723, allocations: 271.8 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.2723, allocations: 55.78 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.2724, allocations: 61.64 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.2728, allocations: 383 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2728, allocations: 0 / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2728, allocations: 0 / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.2729, allocations: 0 / 0.9842 GB, free: 22.92 MB / 0.6198 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.001217/0.2741, allocations: 0.6225 MB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.2741, allocations: 16.02 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.2742, allocations: 46.55 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.2743, allocations: 19.81 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2744, allocations: 194.8 kB / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.2745, allocations: 126.8 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.2746, allocations: 23.94 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.2749, allocations: 255.6 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2749, allocations: 0 / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.2749, allocations: 8 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.275, allocations: 4 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.2752, allocations: 119.7 kB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.2759, allocations: 0.955 MB / 0.9865 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.2772, allocations: 499 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.2774, allocations: 154.5 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.2775, allocations: 15.92 kB / 0.9871 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/0.2779, allocations: 300.1 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.2779, allocations: 0 / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0007103/0.2787, allocations: 401 kB / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.2788, allocations: 350.1 kB / 0.9881 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2789, allocations: 181.8 kB / 0.9883 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.279, allocations: 37.7 kB / 0.9883 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.279, allocations: 108.9 kB / 0.9884 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.2791, allocations: 111 kB / 0.9885 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.2791, allocations: 8 kB / 0.9885 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.2792, allocations: 338.8 kB / 0.9889 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.2795, allocations: 101.1 kB / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.2797, allocations: 180.3 kB / 0.9891 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.28, allocations: 119.8 kB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.28, allocations: 0 / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006033/0.2806, allocations: 370 kB / 0.9896 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2806, allocations: 4 kB / 0.9896 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2806, allocations: 4 kB / 0.9896 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.2807, allocations: 7.953 kB / 0.9896 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.281, allocations: 84.81 kB / 0.9897 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.281, allocations: 4 kB / 0.9897 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.2813, allocations: 59.66 kB / 0.9898 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.2814, allocations: 19.98 kB / 0.9898 GB, free: 16.56 MB / 0.6198 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 () * 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.0001363/0.2815, allocations: 157.8 kB / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.2816, allocations: 31.7 kB / 0.99 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005903/0.2822, allocations: 365.9 kB / 0.9903 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.2822, allocations: 15.95 kB / 0.9903 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.2822, allocations: 4 kB / 0.9903 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.2822, allocations: 7.984 kB / 0.9903 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.2825, allocations: 349.1 kB / 0.9907 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2826, allocations: 4 kB / 0.9907 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.2828, allocations: 75.84 kB / 0.9907 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2828, allocations: 4 kB / 0.9907 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.2829, allocations: 15.98 kB / 0.9908 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2829, allocations: 4 kB / 0.9908 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.2829, allocations: 11.89 kB / 0.9908 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.2835, allocations: 493.5 kB / 0.9913 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2836, allocations: 144.6 kB / 0.9914 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.2837, allocations: 20.23 kB / 0.9914 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.2839, allocations: 39.97 kB / 0.9914 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.284, allocations: 55.89 kB / 0.9915 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.2841, allocations: 20 kB / 0.9915 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.843e-05/0.2841, allocations: 131.2 kB / 0.9916 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2842, allocations: 0 / 0.9916 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006126/0.2848, allocations: 207.8 kB / 0.9918 GB, free: 14.32 MB / 0.6198 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) * 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.001104/0.2859, allocations: 1.225 MB / 0.993 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000544/0.2864, allocations: 320 kB / 0.9933 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.2865, allocations: 4 kB / 0.9933 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.2867, allocations: 176.1 kB / 0.9935 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.287, allocations: 41.14 kB / 0.9936 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.2892, allocations: 1.529 MB / 0.995 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.2895, allocations: 0.7614 MB / 0.9958 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002225/0.2897, allocations: 55.69 kB / 0.9958 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.2899, allocations: 93.14 kB / 0.9959 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of SimCode: time 4.9e-07/0.2899, allocations: 0 / 0.9959 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.3093, allocations: 7.212 MB / 1.003 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.3096, allocations: 210.9 kB / 1.003 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.457, allocations: 0 / 1.003 GB, free: 2.66 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)