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.001546/0.001546, allocations: 108 kB / 15.61 MB, free: 152 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.0016/0.0016, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00252/0.002521, allocations: 287 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 178.6 MB / 0.5073 GB, free: 4.535 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003071/0.003071, allocations: 98.97 kB / 0.6065 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1451, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003311/0.1484, allocations: 1.591 MB / 0.6952 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1496, allocations: 0.6541 MB / 0.6958 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.1497, allocations: 0 / 0.6958 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1498, allocations: 82.52 kB / 0.6959 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1501, allocations: 99.67 kB / 0.696 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.1505, allocations: 101.5 kB / 0.6961 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1507, allocations: 131.7 kB / 0.6962 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.1508, allocations: 15.98 kB / 0.6962 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.151, allocations: 72.45 kB / 0.6963 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1511, allocations: 99.78 kB / 0.6964 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.1512, allocations: 8 kB / 0.6964 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1513, allocations: 79.86 kB / 0.6965 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.1514, allocations: 39.83 kB / 0.6965 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.1515, allocations: 51.62 kB / 0.6965 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1517, allocations: 163.8 kB / 0.6967 GB, free: 1.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1517, allocations: 0 / 0.6967 GB, free: 1.051 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1517, allocations: 0 / 0.6967 GB, free: 1.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1517, allocations: 0 / 0.6967 GB, free: 1.051 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.0006854/0.1524, allocations: 480.4 kB / 0.6972 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1524, allocations: 12.03 kB / 0.6972 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.1525, allocations: 38.73 kB / 0.6972 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1525, allocations: 16.75 kB / 0.6972 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1528, allocations: 220.2 kB / 0.6974 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1528, allocations: 4.375 kB / 0.6974 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1528, allocations: 8.375 kB / 0.6974 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.153, allocations: 123.5 kB / 0.6976 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1531, allocations: 0 / 0.6976 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1531, allocations: 4 kB / 0.6976 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1531, allocations: 3.938 kB / 0.6976 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1532, allocations: 75.89 kB / 0.6976 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.1537, allocations: 408.8 kB / 0.698 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1539, allocations: 121.1 kB / 0.6981 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.154, allocations: 81.78 kB / 0.6982 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.154, allocations: 0 / 0.6982 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/0.1543, allocations: 174.8 kB / 0.6984 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1543, allocations: 0 / 0.6984 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0005095/0.1549, allocations: 335.3 kB / 0.6987 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.1549, allocations: 114.8 kB / 0.6988 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1551, allocations: 218.5 kB / 0.699 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1552, allocations: 29.64 kB / 0.6991 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.1552, allocations: 116 kB / 0.6992 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.1553, allocations: 27.56 kB / 0.6992 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.1554, allocations: 37.7 kB / 0.6992 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1555, allocations: 330.8 kB / 0.6995 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.1556, allocations: 59.97 kB / 0.6996 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.1557, allocations: 75.66 kB / 0.6997 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.1559, allocations: 197 kB / 0.6999 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1559, allocations: 0 / 0.6999 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003294/0.1563, allocations: 267.1 kB / 0.7001 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.1563, allocations: 37.7 kB / 0.7002 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1563, allocations: 4 kB / 0.7002 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1563, allocations: 0 / 0.7002 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1564, allocations: 15.98 kB / 0.7002 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1564, allocations: 3.984 kB / 0.7002 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.1565, allocations: 11.91 kB / 0.7002 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1566, allocations: 7.984 kB / 0.7002 GB, free: 13.14 MB / 0.4981 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.0001555/0.1567, allocations: 175.5 kB / 0.7004 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.1568, allocations: 23.73 kB / 0.7004 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.157, allocations: 111.1 kB / 0.7005 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.157, allocations: 0 / 0.7005 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.157, allocations: 0 / 0.7005 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.157, allocations: 3.984 kB / 0.7005 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.1572, allocations: 233.5 kB / 0.7007 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1572, allocations: 0 / 0.7007 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.1573, allocations: 8.469 kB / 0.7007 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1573, allocations: 7.922 kB / 0.7007 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1573, allocations: 12 kB / 0.7007 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1573, allocations: 0 / 0.7007 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1573, allocations: 4 kB / 0.7007 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.1577, allocations: 335.2 kB / 0.7011 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.1578, allocations: 104.9 kB / 0.7012 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.1579, allocations: 7.984 kB / 0.7012 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.158, allocations: 8 kB / 0.7012 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.158, allocations: 11.98 kB / 0.7012 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1581, allocations: 8 kB / 0.7012 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001364/0.1582, allocations: 160.2 kB / 0.7014 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1582, allocations: 0 / 0.7014 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002516/0.1585, allocations: 51.94 kB / 0.7014 GB, free: 11.78 MB / 0.4981 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.0007572/0.1592, allocations: 0.8959 MB / 0.7023 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.1596, allocations: 243.3 kB / 0.7025 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1596, allocations: 0 / 0.7025 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.1597, allocations: 167.3 kB / 0.7027 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.16, allocations: 19.02 kB / 0.7027 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.1623, allocations: 2.223 MB / 0.7049 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1626, allocations: 0.728 MB / 0.7056 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.694e-05/0.1626, allocations: 7.984 kB / 0.7056 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.1627, allocations: 39.42 kB / 0.7056 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1627, allocations: 4 kB / 0.7056 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.486/1.649, allocations: 3.49 MB / 0.709 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/9.467, allocations: 15.78 kB / 0.709 GB, free: 3.957 MB / 0.4981 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 & /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)