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.439/1.439, allocations: 249.5 MB / 257 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 168.7 kB / 316.3 MB, free: 3.309 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.576/1.576, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.001265/0.001265, allocations: 86.53 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.464e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2428, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8733/1.116, allocations: 133.4 MB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.117, allocations: 78.14 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008865/1.125, allocations: 3.2 MB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/1.125, allocations: 0 / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.059e-05/1.125, allocations: 4 kB / 1.019 GB, free: 1.582 MB / 0.6355 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.0004885/1.126, allocations: 434.6 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/1.126, allocations: 16.02 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/1.126, allocations: 10.66 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/1.126, allocations: 219 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/1.126, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/1.126, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001518/1.127, allocations: 80.55 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/1.127, allocations: 124.1 kB / 1.02 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.127, allocations: 4 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/1.127, allocations: 0 / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.127, allocations: 0 / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/1.127, allocations: 370 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/1.127, allocations: 111.2 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/1.128, allocations: 93.22 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/1.128, allocations: 4.156 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/1.128, allocations: 174.4 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/1.128, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0005456/1.128, allocations: 272 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.128, allocations: 106.1 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/1.129, allocations: 174.7 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/1.129, allocations: 25.7 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/1.129, allocations: 113.7 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/1.129, allocations: 27.5 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/1.129, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.129, allocations: 338.2 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/1.129, allocations: 62.59 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/1.129, allocations: 83.81 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/1.129, allocations: 70.45 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.129, allocations: 4 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003806/1.13, allocations: 273 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/1.13, allocations: 42.55 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.13, allocations: 0 / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.13, allocations: 0 / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/1.13, allocations: 11.98 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.13, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/1.13, allocations: 7.906 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/1.13, allocations: 8 kB / 1.022 GB, free: 14.41 MB / 0.6511 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 () * 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.0001066/1.13, allocations: 146.2 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004479/1.131, allocations: 289.1 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/1.131, allocations: 19.8 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/1.131, allocations: 62.47 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.131, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.131, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.131, allocations: 7.984 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/1.131, allocations: 199.9 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.131, allocations: 4 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/1.131, allocations: 7.938 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.131, allocations: 8.031 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/1.131, allocations: 7.625 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.131, allocations: 3.984 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.131, allocations: 0 / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/1.132, allocations: 332.5 kB / 1.023 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.132, allocations: 115.3 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/1.132, allocations: 8 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/1.132, allocations: 4 kB / 1.023 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/1.132, allocations: 3.984 kB / 1.023 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/1.132, allocations: 11.12 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001613/1.132, allocations: 152.5 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/1.132, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002588/1.132, allocations: 39.95 kB / 1.023 GB, free: 13.06 MB / 0.6511 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) * 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.0007961/1.133, allocations: 0.9141 MB / 1.024 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000258/1.133, allocations: 208.5 kB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.133, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/1.134, allocations: 143.8 kB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/1.134, allocations: 15.7 kB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/1.134, allocations: 284 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/1.135, allocations: 0.7231 MB / 1.025 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.442e-05/1.135, allocations: 4 kB / 1.025 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/1.135, allocations: 40.73 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.135, allocations: 4 kB / 1.026 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/1.157, allocations: 2.449 MB / 1.028 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.157, allocations: 184.2 kB / 1.028 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.676, allocations: 0 / 1.028 GB, free: 8.188 MB / 0.6511 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)