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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004841/0.004841, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.545/1.545, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000584/0.000584, allocations: 15.98 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4961, allocations: 106.3 MB / 0.7287 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001566/0.4977, allocations: 1.207 MB / 0.7299 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.4987, allocations: 0.6396 MB / 0.7305 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.4988, allocations: 7.938 kB / 0.7305 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.499, allocations: 67.88 kB / 0.7306 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.4991, allocations: 83.81 kB / 0.7307 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.4994, allocations: 71.86 kB / 0.7307 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.4996, allocations: 91.69 kB / 0.7308 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.4997, allocations: 15.97 kB / 0.7309 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.4998, allocations: 47.84 kB / 0.7309 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.5, allocations: 83.78 kB / 0.731 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.5, allocations: 4 kB / 0.731 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.5001, allocations: 79.91 kB / 0.7311 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.5002, allocations: 23.92 kB / 0.7311 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.979e-05/0.5003, allocations: 69.38 kB / 0.7311 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.5005, allocations: 129.8 kB / 0.7313 GB, free: 8.809 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5005, allocations: 3.938 kB / 0.7313 GB, free: 8.805 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.527e-06/0.5005, allocations: 0 / 0.7313 GB, free: 8.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.5005, allocations: 3.938 kB / 0.7313 GB, free: 8.801 MB / 0.545 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.0004835/0.501, allocations: 432.7 kB / 0.7317 GB, free: 8.324 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.5011, allocations: 12.03 kB / 0.7317 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.5011, allocations: 16.75 kB / 0.7317 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.5014, allocations: 200.8 kB / 0.7319 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.5014, allocations: 4.375 kB / 0.7319 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.5014, allocations: 4.375 kB / 0.7319 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.5016, allocations: 103.7 kB / 0.732 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5016, allocations: 3.938 kB / 0.732 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.5017, allocations: 8 kB / 0.732 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5017, allocations: 0 / 0.732 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.5018, allocations: 63.95 kB / 0.7321 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.5022, allocations: 301.7 kB / 0.7324 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.5024, allocations: 97.12 kB / 0.7325 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.5026, allocations: 81.72 kB / 0.7325 GB, free: 7.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.5026, allocations: 0 / 0.7325 GB, free: 7.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.5029, allocations: 154.7 kB / 0.7327 GB, free: 7.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.5029, allocations: 0 / 0.7327 GB, free: 7.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004445/0.5033, allocations: 291.1 kB / 0.733 GB, free: 6.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.5034, allocations: 114.9 kB / 0.7331 GB, free: 6.711 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.5036, allocations: 203.1 kB / 0.7333 GB, free: 6.504 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.5036, allocations: 25.7 kB / 0.7333 GB, free: 6.473 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.5037, allocations: 112.1 kB / 0.7334 GB, free: 6.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.5037, allocations: 39.56 kB / 0.7334 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.5038, allocations: 13.72 kB / 0.7335 GB, free: 6.301 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5039, allocations: 334.8 kB / 0.7338 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.504, allocations: 47.97 kB / 0.7338 GB, free: 5.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.5041, allocations: 65.7 kB / 0.7339 GB, free: 5.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.5042, allocations: 185 kB / 0.7341 GB, free: 5.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5042, allocations: 0 / 0.7341 GB, free: 5.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002638/0.5045, allocations: 243.1 kB / 0.7343 GB, free: 5.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.5046, allocations: 37.69 kB / 0.7343 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.5046, allocations: 0 / 0.7343 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5046, allocations: 0 / 0.7343 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.5047, allocations: 8 kB / 0.7343 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.5047, allocations: 4.031 kB / 0.7343 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.5048, allocations: 4 kB / 0.7343 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.5048, allocations: 4.062 kB / 0.7343 GB, free: 5.336 MB / 0.545 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 (solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.5049, allocations: 179.5 kB / 0.7345 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.5049, allocations: 19.81 kB / 0.7345 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.5051, allocations: 67.02 kB / 0.7346 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5051, allocations: 4 kB / 0.7346 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5051, allocations: 4 kB / 0.7346 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5051, allocations: 0 / 0.7346 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.5053, allocations: 217.4 kB / 0.7348 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5053, allocations: 0 / 0.7348 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.5054, allocations: 11.98 kB / 0.7348 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5054, allocations: 0 / 0.7348 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.5054, allocations: 8 kB / 0.7348 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5054, allocations: 0 / 0.7348 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5054, allocations: 3.938 kB / 0.7348 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.5057, allocations: 311.3 kB / 0.7351 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.5058, allocations: 96.91 kB / 0.7352 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.5058, allocations: 11.98 kB / 0.7352 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.718e-05/0.5059, allocations: 4 kB / 0.7352 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.5059, allocations: 144 / 0.7352 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.506, allocations: 11.98 kB / 0.7353 GB, free: 4.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001166/0.5061, allocations: 157.2 kB / 0.7354 GB, free: 4.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5061, allocations: 4 kB / 0.7354 GB, free: 4.133 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000257/0.5064, allocations: 32 kB / 0.7354 GB, free: 4.102 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00017/0.5065, allocations: 131.2 kB / 0.7356 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.5068, allocations: 219.2 kB / 0.7358 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5068, allocations: 0 / 0.7358 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.507, allocations: 151.3 kB / 0.7359 GB, free: 3.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.5072, allocations: 14.81 kB / 0.7359 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.5078, allocations: 367.3 kB / 0.7363 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.5081, allocations: 0.7197 MB / 0.737 GB, free: 2.426 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.5081, allocations: 4 kB / 0.737 GB, free: 2.422 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.5081, allocations: 7.438 kB / 0.737 GB, free: 2.418 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.5081, allocations: 0 / 0.737 GB, free: 2.418 MB / 0.545 GB Notification: Performance of Templates: time 0.00393/0.5121, allocations: 1.267 MB / 0.7382 GB, free: 1.195 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) Environment - environmentSimulation: