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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001302/0.001302, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001777/0.001777, allocations: 183 kB / 17.34 MB, free: 5.738 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002357/0.002357, allocations: 304.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9808/0.9808, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 91.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5639/0.5661, allocations: 86.97 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003533/0.5697, allocations: 1.608 MB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.5712, allocations: 0.6484 MB / 0.7692 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.5713, allocations: 3.938 kB / 0.7692 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.5715, allocations: 79.81 kB / 0.7693 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.5719, allocations: 99.69 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.5723, allocations: 99.69 kB / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.5726, allocations: 127.7 kB / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.5727, allocations: 4 kB / 0.7696 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.573, allocations: 83.73 kB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.5732, allocations: 107.8 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.5732, allocations: 8 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.5734, allocations: 79.92 kB / 0.7699 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.5735, allocations: 23.92 kB / 0.7699 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.5736, allocations: 59.61 kB / 0.77 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.5739, allocations: 167.1 kB / 0.7701 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5739, allocations: 3.984 kB / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.574, allocations: 0 / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.574, allocations: 4 kB / 0.7701 GB, free: 0.7148 MB / 0.5294 GB 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.0008842/0.5749, allocations: 482.9 kB / 0.7706 GB, free: 196 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.5749, allocations: 8.031 kB / 0.7706 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.575, allocations: 16.75 kB / 0.7706 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.5754, allocations: 216.1 kB / 0.7708 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.5754, allocations: 8.375 kB / 0.7708 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.5755, allocations: 8.312 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.5757, allocations: 141.6 kB / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.5757, allocations: 0 / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.5758, allocations: 0 / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.5758, allocations: 7.984 kB / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.5759, allocations: 67.97 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.5765, allocations: 408.8 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.5767, allocations: 117.2 kB / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.5768, allocations: 85.72 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.5768, allocations: 0 / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.5771, allocations: 174.8 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.5771, allocations: 0 / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005829/0.5777, allocations: 335 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.5778, allocations: 106.8 kB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.578, allocations: 210.8 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.5781, allocations: 25.7 kB / 0.7724 GB, free: 14.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.5782, allocations: 116.1 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.5782, allocations: 43.59 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.5783, allocations: 29.7 kB / 0.7726 GB, free: 13.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5784, allocations: 334.8 kB / 0.7729 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.5785, allocations: 68.16 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.5787, allocations: 73.69 kB / 0.7731 GB, free: 13.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.5789, allocations: 193.1 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5789, allocations: 0 / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003721/0.5793, allocations: 271.1 kB / 0.7735 GB, free: 12.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.5793, allocations: 37.69 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5793, allocations: 4 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5794, allocations: 0 / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.5795, allocations: 15.94 kB / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.5795, allocations: 0 / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.5796, allocations: 23.83 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.5796, allocations: 4 kB / 0.7736 GB, free: 12.84 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: 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.0001781/0.5798, allocations: 180.5 kB / 0.7738 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.5799, allocations: 19.81 kB / 0.7738 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.5801, allocations: 103 kB / 0.7739 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5801, allocations: 0 / 0.7739 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5801, allocations: 0 / 0.7739 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5801, allocations: 0 / 0.7739 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.5804, allocations: 237.5 kB / 0.7741 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5804, allocations: 0 / 0.7741 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.5804, allocations: 8 kB / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.5804, allocations: 0 / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.5805, allocations: 8 kB / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.5805, allocations: 8 kB / 0.7741 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5805, allocations: 128 / 0.7741 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.5809, allocations: 331.4 kB / 0.7745 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/0.581, allocations: 124.7 kB / 0.7746 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.5811, allocations: 8 kB / 0.7746 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.5812, allocations: 7.984 kB / 0.7746 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.5813, allocations: 12 kB / 0.7746 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.5813, allocations: 7.984 kB / 0.7746 GB, free: 11.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001494/0.5814, allocations: 160.2 kB / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5814, allocations: 0 / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002852/0.5817, allocations: 47.98 kB / 0.7748 GB, free: 11.49 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: 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.000281/0.582, allocations: 127.2 kB / 0.7749 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.5824, allocations: 243.3 kB / 0.7752 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5824, allocations: 0 / 0.7752 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.5826, allocations: 175.3 kB / 0.7753 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.5829, allocations: 12 kB / 0.7753 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/0.5836, allocations: 370.3 kB / 0.7757 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.584, allocations: 0.7332 MB / 0.7764 GB, free: 9.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.584, allocations: 15.44 kB / 0.7764 GB, free: 9.738 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.584, allocations: 0 / 0.7764 GB, free: 9.738 MB / 0.545 GB Notification: Performance of Templates: time 0.004514/0.5886, allocations: 1.867 MB / 0.7783 GB, free: 7.891 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)