Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",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.804/1.804, allocations: 288.4 MB / 303.3 MB, free: 8.043 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.0009937/0.0009939, allocations: 195 kB / 372 MB, free: 10.23 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.715/1.715, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008645/0.0008643, allocations: 98.3 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 11.59 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.254, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001746/0.2558, allocations: 1.195 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2568, allocations: 0.5863 MB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.2569, allocations: 8 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.2571, allocations: 71.83 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.2573, allocations: 75.81 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.2577, allocations: 67.86 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.2579, allocations: 79.8 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.258, allocations: 11.98 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.2582, allocations: 51.81 kB / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.2583, allocations: 67.86 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2583, allocations: 0 / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.2585, allocations: 75.92 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.2585, allocations: 23.92 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.2586, allocations: 45.64 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.2588, allocations: 88.08 kB / 0.982 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2588, allocations: 3.938 kB / 0.982 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2588, allocations: 0 / 0.982 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2588, allocations: 0 / 0.982 GB, free: 25.1 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005018/0.2593, allocations: 440.4 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.2594, allocations: 12.03 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.2594, allocations: 38.55 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.2594, allocations: 15.81 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.2597, allocations: 199.6 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.2597, allocations: 8 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.2597, allocations: 0 / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.2599, allocations: 111.3 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2599, allocations: 0 / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2599, allocations: 0 / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2599, allocations: 0 / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9e-05/0.26, allocations: 59.97 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.2604, allocations: 309.7 kB / 0.9832 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.2606, allocations: 101.1 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.2606, allocations: 73.73 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2607, allocations: 0 / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.2609, allocations: 162.7 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.2609, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003865/0.2613, allocations: 287.2 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2614, allocations: 114.8 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2615, allocations: 203.1 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2615, allocations: 29.83 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.2616, allocations: 112.1 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.2616, allocations: 19.72 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.2617, allocations: 0 / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.2617, allocations: 322.8 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.2618, allocations: 59.91 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.2618, allocations: 65.69 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.2619, allocations: 89.62 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2619, allocations: 0 / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002286/0.2622, allocations: 239.1 kB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.2622, allocations: 37.69 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2622, allocations: 4 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2623, allocations: 0 / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.2624, allocations: 4 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2624, allocations: 4 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.2624, allocations: 11.89 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2625, allocations: 8.062 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001173/0.2626, allocations: 179.5 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.2626, allocations: 15.81 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.2628, allocations: 67.02 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2628, allocations: 0 / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2628, allocations: 4 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2628, allocations: 0 / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.2629, allocations: 217.5 kB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.263, allocations: 4 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.263, allocations: 15.92 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.263, allocations: 0 / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.263, allocations: 8 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.263, allocations: 0 / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.263, allocations: 0 / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.2633, allocations: 307.3 kB / 0.9858 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.2634, allocations: 101 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.2634, allocations: 8 kB / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.2635, allocations: 3.984 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.2635, allocations: 4 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.2636, allocations: 4 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.833e-05/0.2637, allocations: 161.1 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2637, allocations: 0 / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002281/0.2639, allocations: 36 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.000546/0.2645, allocations: 0.8788 MB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.2647, allocations: 215.3 kB / 0.9872 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2647, allocations: 0 / 0.9872 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.2649, allocations: 159.3 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2651, allocations: 19.3 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2663, allocations: 1.08 MB / 0.9884 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2665, allocations: 0.7158 MB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.2665, allocations: 8 kB / 0.9891 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.2666, allocations: 31.42 kB / 0.9891 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.2666, allocations: 0 / 0.9891 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.2813, allocations: 2.804 MB / 0.9919 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.2815, allocations: 223.6 kB / 0.9921 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.959, allocations: 2.344 kB / 0.9921 GB, free: 14.42 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)