Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001244, allocations: 179.6 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009804/0.0009805, allocations: 96.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 9.281 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2789, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.5024, allocations: 133.2 MB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5026, allocations: 79.95 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009748/0.5124, allocations: 3.227 MB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.855e-06/0.5125, allocations: 4 kB / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.5125, allocations: 4 kB / 1.033 GB, free: 7.141 MB / 0.6823 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.0006601/0.5132, allocations: 459 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/0.5133, allocations: 8.031 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.5133, allocations: 38.56 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.5134, allocations: 11.81 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.5138, allocations: 215.6 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5138, allocations: 7.938 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.5138, allocations: 12 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.5141, allocations: 127.3 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5141, allocations: 0 / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.5142, allocations: 3.984 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5142, allocations: 4 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.5143, allocations: 75.95 kB / 1.034 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.5149, allocations: 404.8 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.5151, allocations: 109.1 kB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.5152, allocations: 3.984 kB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/0.5154, allocations: 182.8 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.5154, allocations: 0 / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0008092/0.5163, allocations: 462.2 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.5164, allocations: 102.8 kB / 1.036 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.5166, allocations: 186.2 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.5166, allocations: 29.7 kB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.5168, allocations: 112.1 kB / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.5168, allocations: 23.66 kB / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.5168, allocations: 128 / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.517, allocations: 334.8 kB / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.5171, allocations: 63.97 kB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.5173, allocations: 89.61 kB / 1.036 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.5174, allocations: 105.6 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5174, allocations: 0 / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004643/0.5179, allocations: 303 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.5179, allocations: 37.7 kB / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.518, allocations: 8.016 kB / 1.037 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.518, allocations: 7.938 kB / 1.037 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.5181, allocations: 4.062 kB / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.5181, allocations: 8 kB / 1.037 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.5182, allocations: 7.906 kB / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.5182, allocations: 11.95 kB / 1.037 GB, free: 3.328 MB / 0.6823 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.0001778/0.5184, allocations: 171.5 kB / 1.037 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.5184, allocations: 11.91 kB / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.5186, allocations: 78.95 kB / 1.037 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.5186, allocations: 4 kB / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5187, allocations: 0 / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5187, allocations: 0 / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.5189, allocations: 225.4 kB / 1.037 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5189, allocations: 4 kB / 1.037 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.519, allocations: 8 kB / 1.037 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.519, allocations: 4 kB / 1.037 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.519, allocations: 4 kB / 1.037 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.519, allocations: 3.984 kB / 1.037 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.519, allocations: 4 kB / 1.037 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00057/0.5196, allocations: 375 kB / 1.038 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.5197, allocations: 112.8 kB / 1.038 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.5198, allocations: 8 kB / 1.038 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.053e-05/0.5199, allocations: 4.141 kB / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.5199, allocations: 15.97 kB / 1.038 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.5199, allocations: 12 kB / 1.038 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001536/0.5201, allocations: 153.2 kB / 1.038 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5201, allocations: 3.938 kB / 1.038 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002728/0.5204, allocations: 43.89 kB / 1.038 GB, free: 1.98 MB / 0.6823 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.001008/0.5214, allocations: 0.9415 MB / 1.039 GB, free: 1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.5218, allocations: 211.3 kB / 1.039 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5218, allocations: 4 kB / 1.039 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.5219, allocations: 147.3 kB / 1.039 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.5221, allocations: 18.17 kB / 1.039 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.5239, allocations: 1.213 MB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.5242, allocations: 0.7197 MB / 1.041 GB, free: 14.58 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.5243, allocations: 4 kB / 1.041 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.5243, allocations: 43.36 kB / 1.041 GB, free: 14.53 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.5243, allocations: 0 / 1.041 GB, free: 14.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.5381, allocations: 2.743 MB / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.5383, allocations: 231.4 kB / 1.044 GB, free: 11.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.329, allocations: 3.938 kB / 1.044 GB, free: 11.75 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)