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.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.001952/0.001952, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002452/0.002452, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002605/0.002605, allocations: 286 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.227/1.227, allocations: 180.6 MB / 0.5369 GB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002935/0.002935, allocations: 105.8 kB / 0.7395 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1893, allocations: 95.38 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003374/0.1926, allocations: 1.614 MB / 0.8342 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.194, allocations: 0.6349 MB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.1941, allocations: 0 / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.1943, allocations: 75.83 kB / 0.8349 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.1946, allocations: 103.7 kB / 0.835 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.195, allocations: 108.6 kB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.1952, allocations: 127.7 kB / 0.8352 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.1953, allocations: 7.984 kB / 0.8352 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.1956, allocations: 79.73 kB / 0.8353 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1958, allocations: 111.8 kB / 0.8354 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.1958, allocations: 4 kB / 0.8354 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.196, allocations: 83.92 kB / 0.8355 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.196, allocations: 35.84 kB / 0.8355 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.1961, allocations: 43.67 kB / 0.8356 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.1964, allocations: 179.6 kB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1964, allocations: 7.984 kB / 0.8358 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1964, allocations: 0 / 0.8358 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1964, allocations: 0 / 0.8358 GB, free: 5.129 MB / 0.5762 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.0007635/0.1972, allocations: 411.5 kB / 0.8361 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1972, allocations: 13.34 kB / 0.8362 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.1973, allocations: 34.73 kB / 0.8362 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.1975, allocations: 20.84 kB / 0.8362 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.1978, allocations: 158.2 kB / 0.8364 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1978, allocations: 8.312 kB / 0.8364 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1978, allocations: 8.375 kB / 0.8364 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.1981, allocations: 163.2 kB / 0.8365 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1981, allocations: 0 / 0.8365 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1981, allocations: 0 / 0.8365 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1982, allocations: 0 / 0.8365 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.1983, allocations: 101.6 kB / 0.8366 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.1988, allocations: 368 kB / 0.837 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.199, allocations: 138.8 kB / 0.8371 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1992, allocations: 103.4 kB / 0.8372 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1992, allocations: 4 kB / 0.8372 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.1995, allocations: 212.5 kB / 0.8374 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1995, allocations: 0 / 0.8374 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006282/0.2001, allocations: 406.5 kB / 0.8378 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.2002, allocations: 106.8 kB / 0.8379 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.2005, allocations: 215.1 kB / 0.8381 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.2005, allocations: 29.7 kB / 0.8381 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.2006, allocations: 112.1 kB / 0.8382 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.2006, allocations: 39.88 kB / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.2007, allocations: 33.66 kB / 0.8383 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2008, allocations: 338.7 kB / 0.8386 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.201, allocations: 93.67 kB / 0.8387 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2011, allocations: 107.4 kB / 0.8388 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.2013, allocations: 197.1 kB / 0.839 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2013, allocations: 3.938 kB / 0.839 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004086/0.2018, allocations: 300.9 kB / 0.8393 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.2018, allocations: 41.69 kB / 0.8393 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2018, allocations: 0 / 0.8393 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2018, allocations: 0 / 0.8393 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.2019, allocations: 12 kB / 0.8394 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2019, allocations: 4 kB / 0.8394 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.202, allocations: 15.92 kB / 0.8394 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.2021, allocations: 4 kB / 0.8394 GB, free: 1.051 MB / 0.5762 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.000181/0.2022, allocations: 180.2 kB / 0.8396 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.2023, allocations: 27.8 kB / 0.8396 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.2025, allocations: 103.1 kB / 0.8397 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.2025, allocations: 4 kB / 0.8397 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2025, allocations: 0 / 0.8397 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2025, allocations: 0 / 0.8397 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.2027, allocations: 192.6 kB / 0.8399 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.2027, allocations: 4.375 kB / 0.8399 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.2028, allocations: 8 kB / 0.8399 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.2028, allocations: 4 kB / 0.8399 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.2028, allocations: 11.98 kB / 0.8399 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2028, allocations: 240 / 0.8399 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2028, allocations: 0 / 0.8399 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/0.2033, allocations: 385.1 kB / 0.8403 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.527e-05/0.2034, allocations: 31.78 kB / 0.8403 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.2034, allocations: 7.984 kB / 0.8403 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.2035, allocations: 12 kB / 0.8403 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.2036, allocations: 8.109 kB / 0.8403 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.2036, allocations: 15.94 kB / 0.8403 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001478/0.2038, allocations: 160.2 kB / 0.8405 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2038, allocations: 0 / 0.8405 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002773/0.204, allocations: 51.92 kB / 0.8405 GB, free: 15.77 MB / 0.5919 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.000882/0.2049, allocations: 0.9249 MB / 0.8414 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.2053, allocations: 276.8 kB / 0.8417 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2053, allocations: 0 / 0.8417 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.2055, allocations: 173 kB / 0.8419 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2057, allocations: 19.78 kB / 0.8419 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.2085, allocations: 2.414 MB / 0.8442 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.2086, allocations: 109.6 kB / 0.8443 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.507e-05/0.2087, allocations: 11.98 kB / 0.8444 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.2087, allocations: 39.61 kB / 0.8444 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.2087, allocations: 0 / 0.8444 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.2406, allocations: 4.14 MB / 0.8484 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.79, allocations: 14.78 kB / 0.8485 GB, free: 7.617 MB / 0.5919 GB " [Timeout remaining time 648] (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 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.069996770005673] Failed to read output from testmodel.py, exit status != 0: 11.895407243166119 11.920856487 11.719648413 Calling exit ...