Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001212/0.001213, allocations: 99.69 kB / 16.4 MB, free: 6.484 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.001167/0.001167, allocations: 188 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.752/0.752, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 70.53 kB / 0.5685 GB, free: 28.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.198, allocations: 77.95 MB / 0.6446 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003285/0.2014, allocations: 1.583 MB / 0.6461 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2027, allocations: 0.636 MB / 0.6468 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.2028, allocations: 4 kB / 0.6468 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.203, allocations: 83.77 kB / 0.6468 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.2033, allocations: 103.7 kB / 0.6469 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.2037, allocations: 102 kB / 0.647 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.204, allocations: 135.6 kB / 0.6472 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2041, allocations: 12 kB / 0.6472 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.2043, allocations: 67.8 kB / 0.6472 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.2045, allocations: 103.8 kB / 0.6473 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.2045, allocations: 8 kB / 0.6474 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.2047, allocations: 83.86 kB / 0.6474 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.2048, allocations: 35.84 kB / 0.6475 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.2049, allocations: 51.67 kB / 0.6475 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.2052, allocations: 167.3 kB / 0.6477 GB, free: 5.828 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.2052, allocations: 0 / 0.6477 GB, free: 5.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.2052, allocations: 0 / 0.6477 GB, free: 5.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.2052, allocations: 0 / 0.6477 GB, free: 5.828 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001066/0.2063, allocations: 488.2 kB / 0.6481 GB, free: 5.297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.2064, allocations: 8.625 kB / 0.6481 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.2064, allocations: 28.83 kB / 0.6482 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.2068, allocations: 220 kB / 0.6484 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2068, allocations: 4.375 kB / 0.6484 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.2068, allocations: 4.375 kB / 0.6484 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.2071, allocations: 123.7 kB / 0.6485 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2071, allocations: 0 / 0.6485 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.2071, allocations: 0 / 0.6485 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2071, allocations: 0 / 0.6485 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.2073, allocations: 83.89 kB / 0.6486 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.2078, allocations: 400.9 kB / 0.649 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.208, allocations: 117.2 kB / 0.6491 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.2081, allocations: 81.86 kB / 0.6492 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.2082, allocations: 7.984 kB / 0.6492 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.2084, allocations: 170.7 kB / 0.6493 GB, free: 3.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.2085, allocations: 3.938 kB / 0.6493 GB, free: 3.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005789/0.209, allocations: 335.1 kB / 0.6497 GB, free: 3.578 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.2091, allocations: 114.7 kB / 0.6498 GB, free: 3.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.2094, allocations: 218.3 kB / 0.65 GB, free: 3.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.2094, allocations: 29.7 kB / 0.65 GB, free: 3.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.2095, allocations: 120.1 kB / 0.6501 GB, free: 3.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.2096, allocations: 31.73 kB / 0.6501 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.2097, allocations: 29.7 kB / 0.6502 GB, free: 2.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2098, allocations: 334.8 kB / 0.6505 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.842e-05/0.2099, allocations: 63.92 kB / 0.6506 GB, free: 2.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.21, allocations: 77.69 kB / 0.6506 GB, free: 2.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.2102, allocations: 197 kB / 0.6508 GB, free: 2.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2102, allocations: 0 / 0.6508 GB, free: 2.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003592/0.2106, allocations: 267.2 kB / 0.6511 GB, free: 2.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.2107, allocations: 33.7 kB / 0.6511 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.2107, allocations: 0 / 0.6511 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.2107, allocations: 0 / 0.6511 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.2109, allocations: 15.98 kB / 0.6511 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2109, allocations: 0 / 0.6511 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.211, allocations: 28.19 kB / 0.6511 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.211, allocations: 4 kB / 0.6512 GB, free: 1.938 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,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 (10): * Single equations (assignments): 9 * 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.000201/0.2112, allocations: 175.5 kB / 0.6513 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.2113, allocations: 19.91 kB / 0.6513 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.2115, allocations: 99.11 kB / 0.6514 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2116, allocations: 3.984 kB / 0.6514 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2116, allocations: 0 / 0.6514 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2116, allocations: 7.984 kB / 0.6514 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.2119, allocations: 233.5 kB / 0.6517 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2119, allocations: 0 / 0.6517 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.212, allocations: 11.98 kB / 0.6517 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.212, allocations: 3.938 kB / 0.6517 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.212, allocations: 8 kB / 0.6517 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.212, allocations: 0 / 0.6517 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.212, allocations: 0 / 0.6517 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.2126, allocations: 347.4 kB / 0.652 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2127, allocations: 108.9 kB / 0.6521 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.2128, allocations: 4 kB / 0.6521 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.2129, allocations: 8 kB / 0.6521 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.2129, allocations: 15.97 kB / 0.6522 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.213, allocations: 4 kB / 0.6522 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.2132, allocations: 160.5 kB / 0.6523 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2132, allocations: 0 / 0.6523 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.2135, allocations: 51.94 kB / 0.6524 GB, free: 0.582 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.000302/0.2138, allocations: 128.5 kB / 0.6525 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.2142, allocations: 247.3 kB / 0.6527 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2142, allocations: 0 / 0.6527 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.2144, allocations: 159.4 kB / 0.6529 GB, free: 28 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.2147, allocations: 13.48 kB / 0.6529 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.2154, allocations: 360.1 kB / 0.6532 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.2159, allocations: 0.7321 MB / 0.6539 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.2159, allocations: 4 kB / 0.6539 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.216, allocations: 15.44 kB / 0.654 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.216, allocations: 0 / 0.654 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.005131/0.2211, allocations: 1.666 MB / 0.6556 GB, free: 13.2 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)