Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.906/2.906, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001378/0.001377, allocations: 178.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.316/2.316, allocations: 205.4 MB / 0.6297 GB, free: 10.54 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.0009958/0.0009951, allocations: 89.5 kB / 0.743 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006703/0.0006706, allocations: 12.22 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2589, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001909/0.2609, allocations: 1.195 MB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2622, allocations: 0.5749 MB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.2623, allocations: 0 / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.2625, allocations: 79.81 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.2627, allocations: 75.81 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.2631, allocations: 67.86 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.2633, allocations: 79.8 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.2634, allocations: 0 / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.2635, allocations: 63.81 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.2637, allocations: 71.84 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.2637, allocations: 0 / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.2639, allocations: 71.88 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.264, allocations: 27.91 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.264, allocations: 49.62 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.2642, allocations: 88.08 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2642, allocations: 0 / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2642, allocations: 0 / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2642, allocations: 0 / 0.9808 GB, free: 25.79 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.0005351/0.2648, allocations: 440.4 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2648, allocations: 12.03 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.2649, allocations: 34.5 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.2649, allocations: 19.77 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.2652, allocations: 195.7 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2652, allocations: 4 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.2652, allocations: 0 / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.2654, allocations: 111.3 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2655, allocations: 8 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2655, allocations: 3.938 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2655, allocations: 3.984 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.2656, allocations: 59.97 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.2661, allocations: 305.5 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2662, allocations: 101.2 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.2664, allocations: 69.75 kB / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.2664, allocations: 0 / 0.9821 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.2667, allocations: 150.7 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.2667, allocations: 4 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000528/0.2672, allocations: 299.2 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.2673, allocations: 106.8 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.2675, allocations: 203.1 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2675, allocations: 29.7 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.2676, allocations: 108.1 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.2677, allocations: 23.7 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.2677, allocations: 0 / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.2678, allocations: 331 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.2679, allocations: 47.98 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.76e-05/0.268, allocations: 77.56 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.2681, allocations: 77.69 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.2681, allocations: 0 / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003453/0.2684, allocations: 239.1 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.2685, allocations: 37.69 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2685, allocations: 32 / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2685, allocations: 8 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2687, allocations: 8 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2687, allocations: 7.953 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.2688, allocations: 11.88 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.2689, allocations: 3.984 kB / 0.9838 GB, free: 22.4 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.0001508/0.269, allocations: 171.5 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.2691, allocations: 19.8 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.2692, allocations: 67.03 kB / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2693, allocations: 0 / 0.9841 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.2693, allocations: 8.062 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.2693, allocations: 7.938 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2695, allocations: 217.5 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2695, allocations: 0 / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.2696, allocations: 8 kB / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2696, allocations: 0 / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2696, allocations: 4 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2696, allocations: 0 / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2697, allocations: 4 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.2701, allocations: 311.3 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.2702, allocations: 105 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.2703, allocations: 0 / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.2704, allocations: 4.141 kB / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.2704, allocations: 11.98 kB / 0.9847 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.2704, allocations: 11.98 kB / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001442/0.2706, allocations: 153.1 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2706, allocations: 0 / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003205/0.2709, allocations: 43.94 kB / 0.9849 GB, free: 21.17 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.0007495/0.2717, allocations: 0.8618 MB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.2721, allocations: 211.3 kB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2721, allocations: 3.938 kB / 0.986 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.2723, allocations: 155.3 kB / 0.9861 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2726, allocations: 8.188 kB / 0.9861 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.2745, allocations: 1.088 MB / 0.9872 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2747, allocations: 0.7196 MB / 0.9879 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.904e-05/0.2748, allocations: 0 / 0.9879 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.2749, allocations: 40.42 kB / 0.9879 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of SimCode: time 1.362e-06/0.2749, allocations: 0 / 0.9879 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.299, allocations: 2.803 MB / 0.9907 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/0.2993, allocations: 224.2 kB / 0.9909 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/3.033, allocations: 0 / 0.9909 GB, free: 15.08 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)