Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 221.6 kB / 23.01 MB, free: 5.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9386/0.9386, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.05 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1836, allocations: 89.17 MB / 0.7283 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003017/0.1866, allocations: 1.633 MB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1879, allocations: 0.6972 MB / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.188, allocations: 0 / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.1881, allocations: 75.83 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1884, allocations: 99.67 kB / 0.7308 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.1888, allocations: 107.7 kB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.189, allocations: 127.7 kB / 0.731 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.1891, allocations: 8 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.1893, allocations: 79.73 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1895, allocations: 115.7 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.1895, allocations: 8 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1897, allocations: 87.92 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.1898, allocations: 31.91 kB / 0.7313 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.416e-05/0.1898, allocations: 63.53 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1901, allocations: 175.6 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1901, allocations: 0 / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1901, allocations: 0 / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.1901, allocations: 0 / 0.7315 GB, free: 13.95 MB / 0.5606 GB 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.0007607/0.1909, allocations: 423 kB / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1909, allocations: 12.03 kB / 0.732 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.191, allocations: 30.75 kB / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.1911, allocations: 28.78 kB / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1914, allocations: 154.2 kB / 0.7322 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1914, allocations: 12.25 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.1914, allocations: 8.359 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1917, allocations: 127.5 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1917, allocations: 3.984 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1917, allocations: 0 / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1917, allocations: 4 kB / 0.7323 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1918, allocations: 71.91 kB / 0.7324 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.1923, allocations: 376 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1925, allocations: 109.1 kB / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.1926, allocations: 69.78 kB / 0.7329 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1926, allocations: 0 / 0.7329 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.1929, allocations: 174.8 kB / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.1929, allocations: 0 / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005561/0.1935, allocations: 339.3 kB / 0.7334 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.1935, allocations: 106.8 kB / 0.7335 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1937, allocations: 216.6 kB / 0.7337 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1938, allocations: 25.7 kB / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.1938, allocations: 120.1 kB / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.1939, allocations: 31.73 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.1939, allocations: 33.7 kB / 0.7339 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1941, allocations: 334.7 kB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1942, allocations: 63.97 kB / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-05/0.1943, allocations: 77.69 kB / 0.7344 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.1945, allocations: 193.2 kB / 0.7346 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1945, allocations: 3.938 kB / 0.7346 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003317/0.1948, allocations: 271.2 kB / 0.7348 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.1949, allocations: 41.69 kB / 0.7349 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1949, allocations: 0 / 0.7349 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1949, allocations: 0 / 0.7349 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/0.195, allocations: 12 kB / 0.7349 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.195, allocations: 0 / 0.7349 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.1951, allocations: 23.88 kB / 0.7349 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1951, allocations: 4 kB / 0.7349 GB, free: 10.23 MB / 0.5606 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.0001599/0.1953, allocations: 181.4 kB / 0.7351 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1953, allocations: 23.91 kB / 0.7351 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.1955, allocations: 99.09 kB / 0.7352 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1955, allocations: 3.984 kB / 0.7352 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1955, allocations: 0 / 0.7352 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1955, allocations: 4 kB / 0.7352 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.1957, allocations: 204.5 kB / 0.7354 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1957, allocations: 3.984 kB / 0.7354 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.1958, allocations: 8 kB / 0.7354 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1958, allocations: 4 kB / 0.7354 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1958, allocations: 4 kB / 0.7354 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.1958, allocations: 8 kB / 0.7354 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1958, allocations: 0 / 0.7354 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.1962, allocations: 335.4 kB / 0.7357 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.1963, allocations: 31.81 kB / 0.7358 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.1963, allocations: 4 kB / 0.7358 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.1964, allocations: 4.125 kB / 0.7358 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.1964, allocations: 19.92 kB / 0.7358 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.1965, allocations: 11.98 kB / 0.7358 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001392/0.1966, allocations: 168 kB / 0.736 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1966, allocations: 0 / 0.736 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002417/0.1968, allocations: 47.92 kB / 0.736 GB, free: 8.996 MB / 0.5606 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.0007888/0.1976, allocations: 0.9011 MB / 0.7369 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.198, allocations: 211.3 kB / 0.7371 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.198, allocations: 0 / 0.7371 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1981, allocations: 135.3 kB / 0.7372 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.1983, allocations: 12.19 kB / 0.7372 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.2007, allocations: 2.241 MB / 0.7394 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.201, allocations: 0.7245 MB / 0.7401 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.2011, allocations: 4 kB / 0.7401 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.2011, allocations: 43.41 kB / 0.7402 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2011, allocations: 4 kB / 0.7402 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.2315, allocations: 3.697 MB / 0.7438 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.02, allocations: 2.625 kB / 0.7438 GB, free: 1.023 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.677697524894029] Failed to read output from testmodel.py, exit status != 0: 11.12607163307257 11.142704965 10.949452913 Calling exit ...