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.7779/0.7779, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 180.8 kB / 169.7 MB, free: 1.73 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.882/1.882, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.0008833/0.0008833, allocations: 87.45 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.75e-05, allocations: 4 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1708, allocations: 76.75 MB / 0.6282 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6723/0.8432, allocations: 104 MB / 0.7298 GB, free: 9.363 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.8435, allocations: 90.5 kB / 0.7299 GB, free: 9.312 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009195/0.8527, allocations: 3.217 MB / 0.7331 GB, free: 6.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.8528, allocations: 0 / 0.7331 GB, free: 6.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.8528, allocations: 4 kB / 0.7331 GB, free: 6.543 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.0005088/0.8533, allocations: 445.5 kB / 0.7335 GB, free: 6.066 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.8534, allocations: 15.97 kB / 0.7335 GB, free: 6.051 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.8534, allocations: 37.5 kB / 0.7335 GB, free: 6.008 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.8535, allocations: 15.86 kB / 0.7336 GB, free: 5.992 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.8538, allocations: 215.1 kB / 0.7338 GB, free: 5.742 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.8538, allocations: 8 kB / 0.7338 GB, free: 5.734 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.8539, allocations: 3.688 kB / 0.7338 GB, free: 5.734 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.8541, allocations: 133.3 kB / 0.7339 GB, free: 5.609 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.8541, allocations: 0 / 0.7339 GB, free: 5.609 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.8541, allocations: 0 / 0.7339 GB, free: 5.609 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.8542, allocations: 4 kB / 0.7339 GB, free: 5.605 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.8543, allocations: 77.41 kB / 0.734 GB, free: 5.543 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.8548, allocations: 396.8 kB / 0.7344 GB, free: 5.125 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.855, allocations: 118.3 kB / 0.7345 GB, free: 5.012 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.8551, allocations: 86.11 kB / 0.7345 GB, free: 4.941 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.8551, allocations: 4 kB / 0.7345 GB, free: 4.938 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.8554, allocations: 180.8 kB / 0.7347 GB, free: 4.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.8554, allocations: 0 / 0.7347 GB, free: 4.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005624/0.856, allocations: 306 kB / 0.735 GB, free: 4.484 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.8561, allocations: 102.8 kB / 0.7351 GB, free: 4.359 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.8563, allocations: 183 kB / 0.7353 GB, free: 4.195 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.8563, allocations: 33.73 kB / 0.7353 GB, free: 4.156 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.8564, allocations: 110.3 kB / 0.7354 GB, free: 4.062 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.8564, allocations: 31.52 kB / 0.7355 GB, free: 4.035 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.8564, allocations: 0 / 0.7355 GB, free: 4.035 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.8566, allocations: 325 kB / 0.7358 GB, free: 3.715 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.8567, allocations: 70.34 kB / 0.7358 GB, free: 3.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.8568, allocations: 89.56 kB / 0.7359 GB, free: 3.586 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.857, allocations: 107.5 kB / 0.736 GB, free: 3.488 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.857, allocations: 0 / 0.736 GB, free: 3.488 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004254/0.8574, allocations: 299.6 kB / 0.7363 GB, free: 3.227 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.8575, allocations: 33.7 kB / 0.7363 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8575, allocations: 0 / 0.7363 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.8575, allocations: 7.953 kB / 0.7363 GB, free: 3.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.8576, allocations: 11.92 kB / 0.7364 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.8576, allocations: 0 / 0.7364 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.8577, allocations: 15.84 kB / 0.7364 GB, free: 3.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.8577, allocations: 4 kB / 0.7364 GB, free: 3.152 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.0001152/0.8578, allocations: 151.5 kB / 0.7365 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.8579, allocations: 15.81 kB / 0.7365 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.858, allocations: 66.16 kB / 0.7366 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8581, allocations: 4 kB / 0.7366 GB, free: 2.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.8581, allocations: 3.953 kB / 0.7366 GB, free: 2.906 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8581, allocations: 3.938 kB / 0.7366 GB, free: 2.902 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.8583, allocations: 227.2 kB / 0.7368 GB, free: 2.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8583, allocations: 0 / 0.7368 GB, free: 2.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.8584, allocations: 12 kB / 0.7368 GB, free: 2.641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8584, allocations: 0 / 0.7368 GB, free: 2.641 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.8584, allocations: 8 kB / 0.7368 GB, free: 2.633 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8584, allocations: 64 / 0.7368 GB, free: 2.633 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8584, allocations: 4 kB / 0.7368 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.859, allocations: 373 kB / 0.7372 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.8591, allocations: 119.9 kB / 0.7373 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.8591, allocations: 7.25 kB / 0.7373 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.8592, allocations: 4 kB / 0.7373 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.8592, allocations: 15.56 kB / 0.7373 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.8593, allocations: 8 kB / 0.7374 GB, free: 2.125 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.8594, allocations: 148.5 kB / 0.7375 GB, free: 1.996 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8594, allocations: 0 / 0.7375 GB, free: 1.996 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.8597, allocations: 43.11 kB / 0.7375 GB, free: 1.957 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.0008637/0.8605, allocations: 0.9385 MB / 0.7385 GB, free: 1.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.8608, allocations: 216.9 kB / 0.7387 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8609, allocations: 0 / 0.7387 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.861, allocations: 151.8 kB / 0.7388 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.8612, allocations: 21.45 kB / 0.7388 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.8618, allocations: 301 kB / 0.7391 GB, free: 404 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.8622, allocations: 0.7195 MB / 0.7398 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.742e-05/0.8622, allocations: 15.92 kB / 0.7398 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.8623, allocations: 32.05 kB / 0.7399 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.8623, allocations: 0 / 0.7399 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.8769, allocations: 2.781 MB / 0.7426 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.8772, allocations: 189.2 kB / 0.7428 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.577, allocations: 2.953 kB / 0.7428 GB, free: 12.81 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)