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/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7541/0.7541, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 176.8 kB / 164.6 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.2 MB / 399.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 93.33 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.935e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1593, allocations: 76.75 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5693/0.7287, allocations: 103.6 MB / 0.7228 GB, free: 11.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.729, allocations: 86.5 kB / 0.7229 GB, free: 11.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008859/0.7379, allocations: 3.196 MB / 0.726 GB, free: 8.977 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.7379, allocations: 4 kB / 0.726 GB, free: 8.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.7379, allocations: 0 / 0.726 GB, free: 8.973 MB / 490.7 MB 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.0004586/0.7384, allocations: 446.4 kB / 0.7265 GB, free: 8.496 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.7384, allocations: 12.03 kB / 0.7265 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.7385, allocations: 15.86 kB / 0.7265 GB, free: 8.469 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.7388, allocations: 210.1 kB / 0.7267 GB, free: 8.227 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.7388, allocations: 0 / 0.7267 GB, free: 8.227 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.7388, allocations: 4 kB / 0.7267 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001456/0.739, allocations: 73.02 kB / 0.7268 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.7392, allocations: 133.7 kB / 0.7269 GB, free: 8.039 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.7392, allocations: 0 / 0.7269 GB, free: 8.039 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.7392, allocations: 0 / 0.7269 GB, free: 8.039 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.7392, allocations: 3.953 kB / 0.7269 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.7396, allocations: 372.3 kB / 0.7273 GB, free: 7.652 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.7398, allocations: 121.7 kB / 0.7274 GB, free: 7.535 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.7399, allocations: 83.56 kB / 0.7275 GB, free: 7.465 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.7399, allocations: 0 / 0.7275 GB, free: 7.465 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.7401, allocations: 172.8 kB / 0.7276 GB, free: 7.293 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.7402, allocations: 0 / 0.7276 GB, free: 7.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005773/0.7407, allocations: 273.2 kB / 0.7279 GB, free: 7.059 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.7408, allocations: 106.8 kB / 0.728 GB, free: 6.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.741, allocations: 173.7 kB / 0.7281 GB, free: 6.773 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.741, allocations: 29.7 kB / 0.7282 GB, free: 6.738 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.7411, allocations: 112 kB / 0.7283 GB, free: 6.645 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.7411, allocations: 26.83 kB / 0.7283 GB, free: 6.621 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.7411, allocations: 8.031 kB / 0.7283 GB, free: 6.613 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7413, allocations: 325.8 kB / 0.7286 GB, free: 6.293 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.7414, allocations: 68.72 kB / 0.7287 GB, free: 6.238 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.7415, allocations: 84.31 kB / 0.7288 GB, free: 6.168 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.7416, allocations: 80.08 kB / 0.7288 GB, free: 6.105 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7416, allocations: 0 / 0.7288 GB, free: 6.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004091/0.742, allocations: 265.1 kB / 0.7291 GB, free: 5.879 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.7421, allocations: 37.73 kB / 0.7291 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7421, allocations: 0 / 0.7291 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7421, allocations: 3.984 kB / 0.7291 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.7422, allocations: 8 kB / 0.7291 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.7422, allocations: 0 / 0.7291 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.7423, allocations: 11.86 kB / 0.7292 GB, free: 5.812 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.7423, allocations: 11.25 kB / 0.7292 GB, free: 5.805 MB / 490.7 MB 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 () * 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.0001053/0.7424, allocations: 138.7 kB / 0.7293 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004913/0.7429, allocations: 298.2 kB / 0.7296 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.743, allocations: 19.84 kB / 0.7296 GB, free: 5.383 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.7431, allocations: 66.14 kB / 0.7297 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7431, allocations: 7.953 kB / 0.7297 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7431, allocations: 0 / 0.7297 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7431, allocations: 0 / 0.7297 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.7433, allocations: 195.4 kB / 0.7299 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7433, allocations: 0 / 0.7299 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.7434, allocations: 11.94 kB / 0.7299 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.7434, allocations: 0 / 0.7299 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.7434, allocations: 11.98 kB / 0.7299 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7434, allocations: 0 / 0.7299 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7434, allocations: 0 / 0.7299 GB, free: 5.082 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.744, allocations: 340.2 kB / 0.7302 GB, free: 4.773 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.7441, allocations: 108.8 kB / 0.7303 GB, free: 4.652 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.7441, allocations: 4 kB / 0.7303 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.7442, allocations: 11.98 kB / 0.7303 GB, free: 4.637 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.7443, allocations: 7.953 kB / 0.7303 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.7443, allocations: 10.81 kB / 0.7303 GB, free: 4.621 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.7444, allocations: 146.5 kB / 0.7305 GB, free: 4.496 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7444, allocations: 3.938 kB / 0.7305 GB, free: 4.492 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.7447, allocations: 40 kB / 0.7305 GB, free: 4.453 MB / 490.7 MB 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) * 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.0006987/0.7454, allocations: 0.9109 MB / 0.7314 GB, free: 3.543 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.7457, allocations: 206 kB / 0.7316 GB, free: 3.379 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7457, allocations: 0 / 0.7316 GB, free: 3.379 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.7458, allocations: 148.6 kB / 0.7318 GB, free: 3.254 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.746, allocations: 8.141 kB / 0.7318 GB, free: 3.242 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.7466, allocations: 288.5 kB / 0.732 GB, free: 2.941 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.7469, allocations: 0.7307 MB / 0.7328 GB, free: 2.188 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.7469, allocations: 8.312 kB / 0.7328 GB, free: 2.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.747, allocations: 36.55 kB / 0.7328 GB, free: 2.168 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.747, allocations: 4 kB / 0.7328 GB, free: 2.164 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.7738, allocations: 2.454 MB / 0.7352 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/0.7742, allocations: 184.6 kB / 0.7354 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.412, allocations: 5.375 kB / 0.7354 GB, free: 15.53 MB / 0.4948 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)