Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.417/1.417, allocations: 287.4 MB / 302.6 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008689/0.0008686, allocations: 179.1 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.133/1.133, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006674/0.0006674, allocations: 90.64 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 10.78 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001127/0.1453, allocations: 1.199 MB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.1459, allocations: 0.5788 MB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.146, allocations: 0 / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1461, allocations: 71.89 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.1462, allocations: 75.81 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1465, allocations: 68.36 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.803e-05/0.1466, allocations: 79.73 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.559e-05/0.1466, allocations: 11.98 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.1467, allocations: 51.89 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/0.1468, allocations: 75.78 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1468, allocations: 0 / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.1469, allocations: 71.92 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.147, allocations: 23.92 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.147, allocations: 41.62 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.782e-05/0.1471, allocations: 100.1 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1471, allocations: 4 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1471, allocations: 0 / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.1471, allocations: 0 / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003529/0.1475, allocations: 436.6 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1475, allocations: 8.031 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.035e-05/0.1476, allocations: 34.69 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.1476, allocations: 16.75 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1477, allocations: 204.8 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-06/0.1477, allocations: 8.312 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1477, allocations: 8.375 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1479, allocations: 107.5 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1479, allocations: 0 / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1479, allocations: 0 / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1479, allocations: 0 / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.148, allocations: 63.91 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.1482, allocations: 313.6 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.058e-05/0.1483, allocations: 93.14 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.1484, allocations: 77.73 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1484, allocations: 0 / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.1486, allocations: 154.7 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.1486, allocations: 0 / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002914/0.1489, allocations: 295.1 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1489, allocations: 106.8 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.149, allocations: 199.2 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.1491, allocations: 29.7 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.1491, allocations: 108.2 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1491, allocations: 23.72 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.1491, allocations: 4 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.909e-05/0.1492, allocations: 326.8 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.1492, allocations: 51.97 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.916e-05/0.1493, allocations: 69.64 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1494, allocations: 184.9 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1494, allocations: 7.938 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001863/0.1496, allocations: 239.1 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1496, allocations: 37.69 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.1496, allocations: 0 / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1496, allocations: 4 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.1497, allocations: 4 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1497, allocations: 4 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.1498, allocations: 8 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1498, allocations: 4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($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 (6): * Single equations (assignments): 5 * 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 8.465e-05/0.1499, allocations: 191.5 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.1499, allocations: 15.81 kB / 0.9844 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.15, allocations: 67.02 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.15, allocations: 144 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.15, allocations: 3.984 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.15, allocations: 4 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.195e-05/0.1501, allocations: 209.5 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1501, allocations: 3.984 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.1502, allocations: 12 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.1502, allocations: 0 / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1502, allocations: 8 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1502, allocations: 0 / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1502, allocations: 0 / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1505, allocations: 303.2 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.1505, allocations: 104.9 kB / 0.9851 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1505, allocations: 11.98 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.1506, allocations: 4 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.1506, allocations: 4 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1507, allocations: 4 kB / 0.9851 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.1507, allocations: 161.1 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1507, allocations: 0 / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001868/0.1509, allocations: 36 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0004051/0.1513, allocations: 0.8705 MB / 0.9861 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.1515, allocations: 211.5 kB / 0.9863 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1515, allocations: 3.938 kB / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.1516, allocations: 155.3 kB / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.1518, allocations: 19.88 kB / 0.9865 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009389/0.1528, allocations: 1.088 MB / 0.9876 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.1529, allocations: 0.7158 MB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.1529, allocations: 4 kB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.1529, allocations: 35.42 kB / 0.9883 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.1529, allocations: 0 / 0.9883 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2976/0.4506, allocations: 2.776 MB / 0.991 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.4507, allocations: 225.9 kB / 0.9912 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.318, allocations: 6.25 kB / 0.9912 GB, free: 14.83 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)