Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001183/0.001183, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00147/0.00147, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9349/0.9349, allocations: 143.3 MB / 434.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002898, allocations: 11.98 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1506, allocations: 83.42 MB / 0.5974 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001553/0.1521, allocations: 1.182 MB / 0.5985 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008263/0.153, allocations: 0.5381 MB / 0.599 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.1531, allocations: 0 / 0.599 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.1532, allocations: 63.89 kB / 0.5991 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.1534, allocations: 87.8 kB / 0.5992 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1536, allocations: 63.84 kB / 0.5993 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.1538, allocations: 63.84 kB / 0.5993 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.1539, allocations: 8 kB / 0.5993 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.154, allocations: 55.88 kB / 0.5994 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1541, allocations: 67.86 kB / 0.5994 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1542, allocations: 3.938 kB / 0.5994 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1543, allocations: 63.94 kB / 0.5995 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.1543, allocations: 27.89 kB / 0.5995 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.1544, allocations: 45.64 kB / 0.5996 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1545, allocations: 88.14 kB / 0.5997 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1545, allocations: 0 / 0.5997 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.316e-06/0.1545, allocations: 4 kB / 0.5997 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1546, allocations: 4 kB / 0.5997 GB, free: 5.336 MB / 0.4981 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.0005246/0.1551, allocations: 432.4 kB / 0.6001 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1551, allocations: 12.03 kB / 0.6001 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.1552, allocations: 34.56 kB / 0.6001 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.1552, allocations: 19.8 kB / 0.6001 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1554, allocations: 196.2 kB / 0.6003 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1554, allocations: 8 kB / 0.6003 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1555, allocations: 0 / 0.6003 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1556, allocations: 111.3 kB / 0.6004 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.1556, allocations: 0 / 0.6004 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1557, allocations: 4 kB / 0.6004 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1557, allocations: 0 / 0.6004 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.1558, allocations: 55.97 kB / 0.6005 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.1561, allocations: 309.6 kB / 0.6008 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1563, allocations: 97.2 kB / 0.6009 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1563, allocations: 3.938 kB / 0.6009 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.1565, allocations: 150.8 kB / 0.601 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1565, allocations: 0 / 0.601 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004504/0.157, allocations: 376.3 kB / 0.6014 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.157, allocations: 110.8 kB / 0.6015 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1572, allocations: 211.1 kB / 0.6017 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1572, allocations: 25.7 kB / 0.6017 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.1573, allocations: 108.1 kB / 0.6018 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.1573, allocations: 27.64 kB / 0.6019 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.1574, allocations: 0 / 0.6019 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.1575, allocations: 330.8 kB / 0.6022 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.1575, allocations: 56.09 kB / 0.6022 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.1576, allocations: 65.64 kB / 0.6023 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.1577, allocations: 77.69 kB / 0.6024 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.1577, allocations: 0 / 0.6024 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002802/0.158, allocations: 251 kB / 0.6026 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.1581, allocations: 37.7 kB / 0.6026 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.1581, allocations: 0 / 0.6026 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.1581, allocations: 0 / 0.6026 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.1582, allocations: 16.02 kB / 0.6026 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1582, allocations: 0 / 0.6026 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.711e-05/0.1582, allocations: 11.89 kB / 0.6027 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1583, allocations: 4 kB / 0.6027 GB, free: 1.934 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: 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 0.0001377/0.1584, allocations: 173.9 kB / 0.6028 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1584, allocations: 15.88 kB / 0.6028 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.1586, allocations: 79.09 kB / 0.6029 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1586, allocations: 8 kB / 0.6029 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1586, allocations: 3.938 kB / 0.6029 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1586, allocations: 0 / 0.6029 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1588, allocations: 213.5 kB / 0.6031 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1588, allocations: 0 / 0.6031 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.1588, allocations: 8 kB / 0.6031 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1588, allocations: 0 / 0.6031 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.1589, allocations: 11.98 kB / 0.6032 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1589, allocations: 0 / 0.6032 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1589, allocations: 0 / 0.6032 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.1592, allocations: 321 kB / 0.6035 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.1593, allocations: 97 kB / 0.6036 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.1593, allocations: 8 kB / 0.6036 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.1594, allocations: 4 kB / 0.6036 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1594, allocations: 3.984 kB / 0.6036 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1595, allocations: 7.984 kB / 0.6036 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001119/0.1596, allocations: 169.1 kB / 0.6037 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1596, allocations: 0 / 0.6037 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002339/0.1598, allocations: 43.91 kB / 0.6038 GB, free: 0.6641 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: 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.2568/0.4166, allocations: 0.9244 MB / 0.6047 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.4169, allocations: 212.2 kB / 0.6049 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4169, allocations: 2.562 kB / 0.6049 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.417, allocations: 155 kB / 0.605 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.4172, allocations: 11.78 kB / 0.605 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.4184, allocations: 1.212 MB / 0.6062 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.4185, allocations: 0.7233 MB / 0.6069 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.4186, allocations: 3.688 kB / 0.6069 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.4186, allocations: 33.94 kB / 0.607 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.4186, allocations: 0.6562 kB / 0.607 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.4296, allocations: 2.788 MB / 0.6097 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.4298, allocations: 228.8 kB / 0.6099 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.022, allocations: 2.531 kB / 0.6099 GB, free: 39.02 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) Environment - environmentSimulation: