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.001039/0.001039, allocations: 93.41 kB / 15.7 MB, free: 448 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 170.5 kB / 16.58 MB, free: 6.887 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.407/1.407, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7226/0.7226, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003391, allocations: 10.69 kB / 495.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 77.53 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002176/0.1643, allocations: 1.286 MB / 0.5606 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1655, allocations: 0.5966 MB / 0.5612 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.1656, allocations: 0 / 0.5612 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.1658, allocations: 67.83 kB / 0.5612 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.1661, allocations: 99.73 kB / 0.5613 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1665, allocations: 75.83 kB / 0.5614 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.1667, allocations: 107.7 kB / 0.5615 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.1668, allocations: 7.984 kB / 0.5615 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.167, allocations: 59.83 kB / 0.5616 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1671, allocations: 95.75 kB / 0.5617 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1672, allocations: 4 kB / 0.5617 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1673, allocations: 63.94 kB / 0.5617 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.1674, allocations: 31.84 kB / 0.5618 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.1675, allocations: 49.58 kB / 0.5618 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.1677, allocations: 120 kB / 0.5619 GB, free: 6.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1677, allocations: 0 / 0.5619 GB, free: 6.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1677, allocations: 0 / 0.5619 GB, free: 6.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1677, allocations: 0 / 0.5619 GB, free: 6.723 MB / 430.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.000852/0.1686, allocations: 460.4 kB / 0.5624 GB, free: 6.219 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1687, allocations: 8.031 kB / 0.5624 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.1687, allocations: 15.81 kB / 0.5624 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.169, allocations: 211.9 kB / 0.5626 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.1691, allocations: 8 kB / 0.5626 GB, free: 5.941 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1691, allocations: 4 kB / 0.5626 GB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.1693, allocations: 115.4 kB / 0.5627 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1693, allocations: 11.95 kB / 0.5627 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1694, allocations: 0 / 0.5627 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1694, allocations: 0 / 0.5627 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.1695, allocations: 75.89 kB / 0.5628 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.1701, allocations: 404.8 kB / 0.5632 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.1704, allocations: 125.2 kB / 0.5633 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1705, allocations: 81.69 kB / 0.5634 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1706, allocations: 0 / 0.5634 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.1709, allocations: 178.7 kB / 0.5635 GB, free: 4.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 2.846e-06/0.1709, allocations: 4 kB / 0.5635 GB, free: 4.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005648/0.1715, allocations: 331.2 kB / 0.5639 GB, free: 4.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/0.1716, allocations: 110.8 kB / 0.564 GB, free: 4.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.1718, allocations: 215.2 kB / 0.5642 GB, free: 4.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1718, allocations: 25.7 kB / 0.5642 GB, free: 4.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.1719, allocations: 112.1 kB / 0.5643 GB, free: 4.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.172, allocations: 35.56 kB / 0.5643 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.172, allocations: 0 / 0.5643 GB, free: 3.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1721, allocations: 330.8 kB / 0.5647 GB, free: 3.645 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.523e-05/0.1722, allocations: 59.98 kB / 0.5647 GB, free: 3.586 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.1723, allocations: 77.67 kB / 0.5648 GB, free: 3.504 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1724, allocations: 97.62 kB / 0.5649 GB, free: 3.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1725, allocations: 0 / 0.5649 GB, free: 3.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003521/0.1728, allocations: 267 kB / 0.5651 GB, free: 3.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.1729, allocations: 37.69 kB / 0.5652 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1729, allocations: 0 / 0.5652 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1729, allocations: 0 / 0.5652 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.173, allocations: 19.92 kB / 0.5652 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.173, allocations: 4 kB / 0.5652 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1731, allocations: 12 kB / 0.5652 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.1732, allocations: 4 kB / 0.5652 GB, free: 3.047 MB / 430.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 ($whenCondition2,$PRE.decAng.tNext,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.1734, allocations: 176.6 kB / 0.5654 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.1734, allocations: 19.77 kB / 0.5654 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.1736, allocations: 111 kB / 0.5655 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1736, allocations: 0 / 0.5655 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1737, allocations: 4 kB / 0.5655 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1737, allocations: 3.938 kB / 0.5655 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.1739, allocations: 233.5 kB / 0.5657 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1739, allocations: 0 / 0.5657 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.1739, allocations: 8 kB / 0.5657 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.174, allocations: 7.953 kB / 0.5657 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.174, allocations: 12.36 kB / 0.5658 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.174, allocations: 0 / 0.5658 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.174, allocations: 8 kB / 0.5658 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.1744, allocations: 327.4 kB / 0.5661 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.42e-05/0.1745, allocations: 104.9 kB / 0.5662 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.1746, allocations: 11.95 kB / 0.5662 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.1747, allocations: 7.984 kB / 0.5662 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.1747, allocations: 11.98 kB / 0.5662 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1747, allocations: 12 kB / 0.5662 GB, free: 1.895 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.1749, allocations: 164 kB / 0.5664 GB, free: 1.734 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1749, allocations: 4 kB / 0.5664 GB, free: 1.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1752, allocations: 36 kB / 0.5664 GB, free: 1.695 MB / 430.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 (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.0001898/0.1754, allocations: 133.1 kB / 0.5665 GB, free: 1.559 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.1757, allocations: 243.3 kB / 0.5668 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1757, allocations: 0 / 0.5668 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.1759, allocations: 171.4 kB / 0.5669 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.1762, allocations: 15.92 kB / 0.5669 GB, free: 1.113 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.1768, allocations: 381.1 kB / 0.5673 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1772, allocations: 0.7161 MB / 0.568 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.643e-05/0.1772, allocations: 11.94 kB / 0.568 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.1772, allocations: 15.44 kB / 0.568 GB, free: 15.94 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1773, allocations: 0 / 0.568 GB, free: 15.94 MB / 446.1 MB Notification: Performance of Templates: time 0.004614/0.1819, allocations: 1.509 MB / 0.5695 GB, free: 14.45 MB / 446.1 MB 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)