Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.833/0.833, allocations: 143.4 MB / 158.3 MB, free: 5.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 177.1 kB / 191.5 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.695/1.695, allocations: 223.2 MB / 447.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 92.31 kB / 0.5187 GB, free: 1.133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.001911, allocations: 283.3 kB / 0.6005 GB, free: 48.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004331, allocations: 14.25 kB / 0.6929 GB, free: 59.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1683, allocations: 82.78 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5478/0.7161, allocations: 110.1 MB / 0.8813 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.7164, allocations: 82.94 kB / 0.8814 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008827/0.7253, allocations: 3.274 MB / 0.8846 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7253, allocations: 0 / 0.8846 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.7254, allocations: 2.562 kB / 0.8846 GB, free: 31.24 MB / 0.5417 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.000458/0.7258, allocations: 461.2 kB / 0.885 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.7259, allocations: 11.77 kB / 0.885 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.7259, allocations: 33.06 kB / 0.8851 GB, free: 30.76 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.726, allocations: 23.83 kB / 0.8851 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.7263, allocations: 220.4 kB / 0.8853 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.7263, allocations: 3.484 kB / 0.8853 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.7263, allocations: 2.688 kB / 0.8853 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.7265, allocations: 136.6 kB / 0.8854 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.7266, allocations: 0 / 0.8854 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.7266, allocations: 0 / 0.8854 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7266, allocations: 2.75 kB / 0.8854 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.7267, allocations: 80.05 kB / 0.8855 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.7271, allocations: 398.6 kB / 0.8859 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.7273, allocations: 114.5 kB / 0.886 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.7273, allocations: 2.312 kB / 0.886 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.7276, allocations: 178 kB / 0.8862 GB, free: 29.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.7276, allocations: 2.656 kB / 0.8862 GB, free: 29.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0007734/0.7283, allocations: 462.5 kB / 0.8866 GB, free: 29.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.7284, allocations: 106.7 kB / 0.8867 GB, free: 29.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.7286, allocations: 185.5 kB / 0.8869 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.7286, allocations: 25.7 kB / 0.8869 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.7287, allocations: 113.9 kB / 0.887 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.7287, allocations: 31.75 kB / 0.8871 GB, free: 29.44 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-06/0.7287, allocations: 2.969 kB / 0.8871 GB, free: 29.44 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.7288, allocations: 330.2 kB / 0.8874 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.7289, allocations: 71.31 kB / 0.8874 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.729, allocations: 88.47 kB / 0.8875 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.7291, allocations: 102.7 kB / 0.8876 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.7291, allocations: 3.938 kB / 0.8876 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003866/0.7295, allocations: 302.4 kB / 0.8879 GB, free: 29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.7296, allocations: 33.28 kB / 0.8879 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.7296, allocations: 3.656 kB / 0.8879 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7296, allocations: 0.6094 kB / 0.888 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.7297, allocations: 11.14 kB / 0.888 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.7297, allocations: 3.75 kB / 0.888 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.7298, allocations: 10.98 kB / 0.888 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.7298, allocations: 8.516 kB / 0.888 GB, free: 28.96 MB / 0.5417 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.000141/0.73, allocations: 180.9 kB / 0.8882 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.73, allocations: 15.53 kB / 0.8882 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.7302, allocations: 74.34 kB / 0.8882 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7302, allocations: 4.656 kB / 0.8882 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7302, allocations: 0.5625 kB / 0.8882 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7302, allocations: 7.422 kB / 0.8883 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.7304, allocations: 221 kB / 0.8885 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7304, allocations: 0.5156 kB / 0.8885 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.7304, allocations: 7.422 kB / 0.8885 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.7305, allocations: 2.969 kB / 0.8885 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.7305, allocations: 7.844 kB / 0.8885 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.7305, allocations: 0.7031 kB / 0.8885 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7305, allocations: 3.906 kB / 0.8885 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.7311, allocations: 382.2 kB / 0.8889 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.7312, allocations: 111.3 kB / 0.889 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.7312, allocations: 7.172 kB / 0.889 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/0.7313, allocations: 6.156 kB / 0.889 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.7313, allocations: 5.906 kB / 0.889 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.7314, allocations: 11.72 kB / 0.889 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001158/0.7315, allocations: 160 kB / 0.8891 GB, free: 28.22 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7315, allocations: 0 / 0.8891 GB, free: 28.22 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002892/0.7318, allocations: 40.59 kB / 0.8892 GB, free: 28.21 MB / 0.5417 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.001631/0.7334, allocations: 0.9473 MB / 0.8901 GB, free: 43.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.7338, allocations: 211.3 kB / 0.8903 GB, free: 43.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7338, allocations: 0 / 0.8903 GB, free: 43.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.7339, allocations: 156 kB / 0.8905 GB, free: 43.35 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.7341, allocations: 8.609 kB / 0.8905 GB, free: 43.35 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.7356, allocations: 1.228 MB / 0.8917 GB, free: 42.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.7359, allocations: 0.7241 MB / 0.8924 GB, free: 42.05 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.736, allocations: 5.297 kB / 0.8924 GB, free: 42.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.736, allocations: 37.02 kB / 0.8924 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of SimCode: time 7.61e-07/0.736, allocations: 3.938 kB / 0.8924 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.7507, allocations: 2.751 MB / 0.8951 GB, free: 41.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.7509, allocations: 224.8 kB / 0.8953 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.441, allocations: 0 / 0.8953 GB, free: 41.57 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)