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.007872/0.007872, allocations: 97.11 kB / 15.73 MB, free: 6.047 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.002163/0.002163, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002584/0.002584, allocations: 298.6 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 96.28 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1628, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002786/0.1656, allocations: 1.6 MB / 0.7674 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1668, allocations: 0.651 MB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.1669, allocations: 4 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.167, allocations: 75.77 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.1673, allocations: 103.7 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.1676, allocations: 102.9 kB / 0.7684 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1678, allocations: 139.6 kB / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.1679, allocations: 11.98 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1681, allocations: 63.86 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1683, allocations: 111.7 kB / 0.7687 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1683, allocations: 8 kB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1685, allocations: 79.92 kB / 0.7688 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.1685, allocations: 35.84 kB / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.1686, allocations: 51.67 kB / 0.7688 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1689, allocations: 167.6 kB / 0.769 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1689, allocations: 0 / 0.769 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1689, allocations: 0 / 0.769 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1689, allocations: 0 / 0.769 GB, free: 5.738 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.0007379/0.1696, allocations: 496.1 kB / 0.7695 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1697, allocations: 8.031 kB / 0.7695 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.1697, allocations: 38.75 kB / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.1698, allocations: 20.84 kB / 0.7695 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.1701, allocations: 220.4 kB / 0.7697 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1701, allocations: 4.375 kB / 0.7697 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1701, allocations: 8.359 kB / 0.7698 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1703, allocations: 123.5 kB / 0.7699 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1704, allocations: 7.938 kB / 0.7699 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1704, allocations: 0 / 0.7699 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1704, allocations: 0 / 0.7699 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1705, allocations: 67.97 kB / 0.7699 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.171, allocations: 412.9 kB / 0.7703 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1712, allocations: 117.1 kB / 0.7705 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1713, allocations: 81.78 kB / 0.7705 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1713, allocations: 4 kB / 0.7705 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.1716, allocations: 170.7 kB / 0.7707 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.1716, allocations: 4 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005545/0.1722, allocations: 343.2 kB / 0.771 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.1723, allocations: 110.8 kB / 0.7711 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.1725, allocations: 206.6 kB / 0.7713 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1725, allocations: 33.7 kB / 0.7714 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.1726, allocations: 120 kB / 0.7715 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.1726, allocations: 27.8 kB / 0.7715 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-05/0.1727, allocations: 29.7 kB / 0.7715 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1729, allocations: 334.8 kB / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.173, allocations: 67.91 kB / 0.7719 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.1731, allocations: 73.69 kB / 0.772 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.1733, allocations: 201 kB / 0.7722 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1733, allocations: 0 / 0.7722 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003546/0.1737, allocations: 263.2 kB / 0.7724 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.1738, allocations: 41.69 kB / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1738, allocations: 0 / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1738, allocations: 4 kB / 0.7725 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.1739, allocations: 15.98 kB / 0.7725 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1739, allocations: 0 / 0.7725 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.174, allocations: 8.266 kB / 0.7725 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.174, allocations: 4 kB / 0.7725 GB, free: 1.816 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.0001685/0.1742, allocations: 190.1 kB / 0.7727 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.1742, allocations: 16 kB / 0.7727 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.1745, allocations: 107 kB / 0.7728 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.1745, allocations: 4 kB / 0.7728 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1745, allocations: 3.938 kB / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1745, allocations: 0 / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1747, allocations: 241.4 kB / 0.773 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1747, allocations: 0 / 0.773 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.1748, allocations: 15.94 kB / 0.7731 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1748, allocations: 0 / 0.7731 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.1748, allocations: 4 kB / 0.7731 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1748, allocations: 3.984 kB / 0.7731 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1748, allocations: 4 kB / 0.7731 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.1753, allocations: 335.5 kB / 0.7734 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.1754, allocations: 101 kB / 0.7735 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.1754, allocations: 4 kB / 0.7735 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.1755, allocations: 11.98 kB / 0.7735 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.1756, allocations: 15.92 kB / 0.7735 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.1756, allocations: 8 kB / 0.7735 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001441/0.1758, allocations: 164.2 kB / 0.7737 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1758, allocations: 0 / 0.7737 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002601/0.1761, allocations: 51.88 kB / 0.7737 GB, free: 456 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.2997/0.4758, allocations: 0.8873 MB / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.4762, allocations: 245 kB / 0.7748 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4762, allocations: 3.844 kB / 0.7748 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.4764, allocations: 160.4 kB / 0.775 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.4767, allocations: 14.86 kB / 0.775 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.4789, allocations: 2.229 MB / 0.7772 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.4791, allocations: 0.73 MB / 0.7779 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.474e-05/0.4792, allocations: 11.2 kB / 0.7779 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.4792, allocations: 40.66 kB / 0.7779 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.4792, allocations: 2.656 kB / 0.7779 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.5039, allocations: 3.541 MB / 0.7814 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.286, allocations: 4.312 kB / 0.7814 GB, free: 12.14 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)