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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001844/0.001845, allocations: 190.6 kB / 16.25 MB, free: 6.629 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.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 282.2 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.901/0.901, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 94.55 kB / 0.5948 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1499, allocations: 86.98 MB / 0.6797 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002514/0.1524, allocations: 1.653 MB / 0.6814 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.1534, allocations: 0.642 MB / 0.682 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.1534, allocations: 4 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.1536, allocations: 63.84 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.1538, allocations: 103.7 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1541, allocations: 87.84 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1543, allocations: 131.7 kB / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.753e-05/0.1544, allocations: 16.25 kB / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1545, allocations: 67.81 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1546, allocations: 103.8 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1547, allocations: 12 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1548, allocations: 87.84 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.1548, allocations: 35.84 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.1549, allocations: 55.62 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.1551, allocations: 163.5 kB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1551, allocations: 0 / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1551, allocations: 0 / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1551, allocations: 0 / 0.6829 GB, free: 13.75 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.0006308/0.1558, allocations: 476.3 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1558, allocations: 12.03 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.1558, allocations: 46.67 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1559, allocations: 16.75 kB / 0.6834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1561, allocations: 211.9 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1561, allocations: 384 / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1561, allocations: 8.375 kB / 0.6836 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1563, allocations: 119.5 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.1563, allocations: 0 / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1564, allocations: 12 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1564, allocations: 0 / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1565, allocations: 71.89 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1569, allocations: 412.8 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.157, allocations: 125.1 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.267e-05/0.1571, allocations: 81.78 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1572, allocations: 4 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.1574, allocations: 167.5 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1574, allocations: 0 / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004548/0.1579, allocations: 331.1 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.1579, allocations: 114.8 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.1581, allocations: 222.9 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.1581, allocations: 25.7 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.1582, allocations: 112.1 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.1582, allocations: 35.7 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.1583, allocations: 29.7 kB / 0.6854 GB, free: 10.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.1584, allocations: 334.8 kB / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.876e-05/0.1585, allocations: 59.97 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.1586, allocations: 77.69 kB / 0.6858 GB, free: 10.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1588, allocations: 201.2 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1588, allocations: 96 / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002901/0.1591, allocations: 271 kB / 0.6863 GB, free: 9.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.1591, allocations: 37.7 kB / 0.6863 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1591, allocations: 4 kB / 0.6863 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.1591, allocations: 0 / 0.6863 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.1592, allocations: 15.98 kB / 0.6863 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1592, allocations: 4 kB / 0.6863 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.412e-05/0.1593, allocations: 7.906 kB / 0.6864 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1594, allocations: 7.984 kB / 0.6864 GB, free: 9.844 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.0001333/0.1595, allocations: 180.1 kB / 0.6865 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.1595, allocations: 19.8 kB / 0.6866 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.1598, allocations: 107 kB / 0.6867 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1598, allocations: 3.938 kB / 0.6867 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1598, allocations: 4 kB / 0.6867 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1598, allocations: 0 / 0.6867 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.16, allocations: 229.5 kB / 0.6869 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.16, allocations: 0 / 0.6869 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.16, allocations: 12 kB / 0.6869 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.16, allocations: 0 / 0.6869 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.16, allocations: 7.984 kB / 0.6869 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1601, allocations: 0 / 0.6869 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1601, allocations: 0 / 0.6869 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.1604, allocations: 350 kB / 0.6872 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.1605, allocations: 100.9 kB / 0.6873 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1606, allocations: 12.11 kB / 0.6873 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.1607, allocations: 8 kB / 0.6873 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.1607, allocations: 7.984 kB / 0.6874 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.1607, allocations: 12 kB / 0.6874 GB, free: 8.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1609, allocations: 164.2 kB / 0.6875 GB, free: 8.539 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1609, allocations: 0 / 0.6875 GB, free: 8.539 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1611, allocations: 43.94 kB / 0.6876 GB, free: 8.496 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.0006649/0.1618, allocations: 0.8965 MB / 0.6884 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.1621, allocations: 247.3 kB / 0.6887 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1621, allocations: 192 / 0.6887 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1622, allocations: 167.3 kB / 0.6888 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.1624, allocations: 20.42 kB / 0.6889 GB, free: 7.117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1645, allocations: 2.255 MB / 0.6911 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1648, allocations: 0.7236 MB / 0.6918 GB, free: 4.008 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.975e-05/0.1648, allocations: 7.984 kB / 0.6918 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.1649, allocations: 39.42 kB / 0.6918 GB, free: 3.961 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1649, allocations: 0 / 0.6918 GB, free: 3.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7196/0.8844, allocations: 3.39 MB / 0.6951 GB, free: 0.793 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.8847, allocations: 242 kB / 0.6954 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.877, allocations: 2.406 kB / 0.6954 GB, free: 0.5391 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)