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.00532/0.00532, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001303/0.001304, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002531/0.002531, allocations: 266.9 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9236/0.9236, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 91.84 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1554, allocations: 86.97 MB / 0.7664 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002448/0.1579, allocations: 1.599 MB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1589, allocations: 0.651 MB / 0.7686 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.159, allocations: 0 / 0.7686 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.1591, allocations: 75.77 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.1594, allocations: 114.8 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.1597, allocations: 91.77 kB / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1599, allocations: 139.6 kB / 0.769 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.675e-05/0.16, allocations: 11.98 kB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1601, allocations: 71.8 kB / 0.769 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1603, allocations: 103.8 kB / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1603, allocations: 4 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1605, allocations: 87.84 kB / 0.7692 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.1605, allocations: 31.84 kB / 0.7693 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.1606, allocations: 55.67 kB / 0.7693 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1608, allocations: 163.3 kB / 0.7695 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1609, allocations: 0 / 0.7695 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1609, allocations: 0 / 0.7695 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1609, allocations: 0 / 0.7695 GB, free: 5.285 MB / 0.5606 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.0006226/0.1615, allocations: 492.2 kB / 0.7699 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1615, allocations: 12.03 kB / 0.77 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.1616, allocations: 16.84 kB / 0.77 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.1618, allocations: 228.1 kB / 0.7702 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1618, allocations: 384 / 0.7702 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1619, allocations: 4.375 kB / 0.7702 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.1621, allocations: 127.6 kB / 0.7703 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1621, allocations: 4 kB / 0.7703 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1621, allocations: 4 kB / 0.7703 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1621, allocations: 0 / 0.7703 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1622, allocations: 75.89 kB / 0.7704 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.1626, allocations: 401 kB / 0.7708 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1628, allocations: 125 kB / 0.7709 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1629, allocations: 81.78 kB / 0.771 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.1629, allocations: 4.156 kB / 0.771 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.1632, allocations: 170.8 kB / 0.7711 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.1632, allocations: 0 / 0.7711 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005072/0.1637, allocations: 339 kB / 0.7715 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.1637, allocations: 110.8 kB / 0.7716 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1639, allocations: 214.8 kB / 0.7718 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.164, allocations: 29.7 kB / 0.7718 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.164, allocations: 120 kB / 0.7719 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1641, allocations: 27.81 kB / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.1641, allocations: 29.7 kB / 0.772 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1642, allocations: 330.8 kB / 0.7723 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.1643, allocations: 63.97 kB / 0.7723 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.834e-05/0.1644, allocations: 82.19 kB / 0.7724 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1646, allocations: 197.2 kB / 0.7726 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1646, allocations: 0 / 0.7726 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00031/0.1649, allocations: 275.2 kB / 0.7729 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.165, allocations: 36.05 kB / 0.7729 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.165, allocations: 4 kB / 0.7729 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.165, allocations: 0 / 0.7729 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.1651, allocations: 15.98 kB / 0.7729 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1651, allocations: 4 kB / 0.7729 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.734e-05/0.1652, allocations: 11.95 kB / 0.7729 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1652, allocations: 4 kB / 0.7729 GB, free: 1.402 MB / 0.5606 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.000135/0.1654, allocations: 180.1 kB / 0.7731 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1654, allocations: 20 kB / 0.7731 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.1656, allocations: 107 kB / 0.7732 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1656, allocations: 4 kB / 0.7732 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1657, allocations: 0 / 0.7732 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1657, allocations: 0 / 0.7732 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.1658, allocations: 237.3 kB / 0.7735 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1658, allocations: 0 / 0.7735 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1659, allocations: 12 kB / 0.7735 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1659, allocations: 0 / 0.7735 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.1659, allocations: 11.98 kB / 0.7735 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1659, allocations: 0 / 0.7735 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.166, allocations: 0 / 0.7735 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.1663, allocations: 343.4 kB / 0.7738 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.1664, allocations: 101 kB / 0.7739 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.1665, allocations: 4 kB / 0.7739 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.1666, allocations: 7.984 kB / 0.7739 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1666, allocations: 11.98 kB / 0.7739 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1666, allocations: 8.125 kB / 0.7739 GB, free: 264 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001165/0.1668, allocations: 168.2 kB / 0.7741 GB, free: 96 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1668, allocations: 0 / 0.7741 GB, free: 96 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002457/0.167, allocations: 43.94 kB / 0.7742 GB, free: 52 kB / 0.5606 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.3616/0.5286, allocations: 131.6 kB / 0.7743 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005055/0.5292, allocations: 240.8 kB / 0.7745 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5292, allocations: 0 / 0.7745 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.5294, allocations: 170.6 kB / 0.7747 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.5297, allocations: 18.38 kB / 0.7747 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.5304, allocations: 337.8 kB / 0.775 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.5306, allocations: 0.7287 MB / 0.7757 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.583e-05/0.5306, allocations: 10.3 kB / 0.7757 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.5307, allocations: 13.2 kB / 0.7757 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.5307, allocations: 0 / 0.7757 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.00505/0.5357, allocations: 1.674 MB / 0.7774 GB, free: 14.34 MB / 0.5606 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)