Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.433/1.433, allocations: 288.4 MB / 303.6 MB, free: 8.039 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.0009317/0.0009317, allocations: 177.4 kB / 372.3 MB, free: 10.13 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.141/1.141, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0006533/0.0006533, allocations: 99.47 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 11.41 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001204/0.145, allocations: 1.191 MB / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.1458, allocations: 0.5941 MB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.1459, allocations: 0 / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.146, allocations: 63.89 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.1461, allocations: 83.8 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.1464, allocations: 75.86 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.1465, allocations: 75.73 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.244e-05/0.1465, allocations: 8 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.344e-05/0.1466, allocations: 47.83 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/0.1467, allocations: 79.77 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1468, allocations: 4 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.1469, allocations: 67.94 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.1469, allocations: 31.91 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.147, allocations: 57.45 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1471, allocations: 100.1 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1471, allocations: 3.938 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1471, allocations: 0 / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1471, allocations: 0 / 0.9826 GB, free: 24.77 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.0003358/0.1474, allocations: 428.6 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1475, allocations: 12.03 kB / 0.983 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.191e-05/0.1475, allocations: 38.67 kB / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.1475, allocations: 16.75 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1477, allocations: 200.9 kB / 0.9833 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.1477, allocations: 4.375 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1477, allocations: 8.375 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1478, allocations: 107.4 kB / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1478, allocations: 0 / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1478, allocations: 0 / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1479, allocations: 0 / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.866e-05/0.1479, allocations: 59.97 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.1482, allocations: 317.6 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.09e-05/0.1483, allocations: 97.14 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.1483, allocations: 77.73 kB / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1484, allocations: 4 kB / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.1485, allocations: 150.7 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1485, allocations: 0 / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003058/0.1489, allocations: 299.1 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.1489, allocations: 102.8 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.149, allocations: 203.3 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.149, allocations: 33.7 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.1491, allocations: 104.1 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.1491, allocations: 19.72 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.1491, allocations: 4 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.1491, allocations: 334.7 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.1492, allocations: 47.97 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.1493, allocations: 73.62 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1494, allocations: 184.9 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1494, allocations: 0 / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001988/0.1496, allocations: 239.1 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.1496, allocations: 37.69 kB / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1496, allocations: 0 / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1496, allocations: 4 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.1497, allocations: 4 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1497, allocations: 4 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.1498, allocations: 15.95 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1498, allocations: 4 kB / 0.9857 GB, free: 21.28 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.224e-05/0.1499, allocations: 175.5 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.1499, allocations: 27.73 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.15, allocations: 59.09 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.15, allocations: 0 / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.15, allocations: 0 / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1501, allocations: 11.98 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.63e-05/0.1502, allocations: 213.5 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1502, allocations: 0 / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.1502, allocations: 8 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1502, allocations: 0 / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1502, allocations: 4 kB / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1502, allocations: 0 / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1502, allocations: 0 / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1505, allocations: 311.2 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.1505, allocations: 104.8 kB / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1506, allocations: 8 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.561e-05/0.1506, allocations: 4 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.1507, allocations: 4 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1507, allocations: 11.98 kB / 0.9866 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.306e-05/0.1508, allocations: 153.1 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1508, allocations: 0 / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002006/0.151, allocations: 39.98 kB / 0.9868 GB, free: 20.05 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.0004095/0.1514, allocations: 0.8803 MB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.1516, allocations: 215.3 kB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1516, allocations: 3.938 kB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.1517, allocations: 155.4 kB / 0.988 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.1519, allocations: 11.59 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.1528, allocations: 1.081 MB / 0.9891 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.153, allocations: 0.7197 MB / 0.9898 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.153, allocations: 4 kB / 0.9898 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.153, allocations: 39.42 kB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.153, allocations: 0 / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3354/0.4885, allocations: 2.786 MB / 0.9925 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.4887, allocations: 231.9 kB / 0.9927 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.229, allocations: 2.031 kB / 0.9927 GB, free: 13.99 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)