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.001322/0.001322, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001735/0.001735, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002424/0.002424, allocations: 272.9 kB / 313.5 MB, free: 2.848 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.219/1.219, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",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.00327/0.00327, allocations: 105.8 kB / 0.7403 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2041, allocations: 95.38 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003114/0.2072, allocations: 1.637 MB / 0.8351 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.2085, allocations: 0.701 MB / 0.8358 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.2086, allocations: 4 kB / 0.8358 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.2087, allocations: 67.83 kB / 0.8358 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.209, allocations: 115.6 kB / 0.836 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.2094, allocations: 99.75 kB / 0.836 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.2096, allocations: 131.6 kB / 0.8362 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.2097, allocations: 4 kB / 0.8362 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.2099, allocations: 75.84 kB / 0.8362 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.2101, allocations: 119.7 kB / 0.8364 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.2101, allocations: 8 kB / 0.8364 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.2102, allocations: 91.86 kB / 0.8365 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.2103, allocations: 35.89 kB / 0.8365 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.2104, allocations: 59.61 kB / 0.8365 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.2106, allocations: 171.6 kB / 0.8367 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2106, allocations: 0 / 0.8367 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2107, allocations: 0 / 0.8367 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2107, allocations: 0 / 0.8367 GB, free: 5.336 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.0007119/0.2114, allocations: 415 kB / 0.8371 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2114, allocations: 13.34 kB / 0.8371 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.758e-05/0.2114, allocations: 192 / 0.8371 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.2115, allocations: 38.75 kB / 0.8372 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.2116, allocations: 24.83 kB / 0.8372 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.2119, allocations: 158.1 kB / 0.8373 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.2119, allocations: 4.375 kB / 0.8373 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.2119, allocations: 8.375 kB / 0.8373 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.2122, allocations: 129.3 kB / 0.8375 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2122, allocations: 0 / 0.8375 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2122, allocations: 3.938 kB / 0.8375 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2122, allocations: 0 / 0.8375 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.2123, allocations: 67.97 kB / 0.8375 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.2128, allocations: 376.1 kB / 0.8379 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.2129, allocations: 105.1 kB / 0.838 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.213, allocations: 73.78 kB / 0.8381 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2131, allocations: 4 kB / 0.8381 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.2133, allocations: 182.8 kB / 0.8382 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.2133, allocations: 3.938 kB / 0.8382 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005519/0.2139, allocations: 335.3 kB / 0.8386 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.214, allocations: 114.8 kB / 0.8387 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.2142, allocations: 207.2 kB / 0.8389 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.2142, allocations: 33.7 kB / 0.8389 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.2143, allocations: 112.1 kB / 0.839 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.2143, allocations: 35.69 kB / 0.839 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.2144, allocations: 29.72 kB / 0.8391 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2145, allocations: 334.8 kB / 0.8394 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.344e-05/0.2146, allocations: 63.97 kB / 0.8395 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.776e-05/0.2147, allocations: 80.47 kB / 0.8395 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.2149, allocations: 193 kB / 0.8397 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2149, allocations: 0 / 0.8397 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003444/0.2153, allocations: 271.1 kB / 0.84 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.2153, allocations: 43.88 kB / 0.84 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2153, allocations: 4 kB / 0.84 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2153, allocations: 0 / 0.84 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.587e-05/0.2154, allocations: 12 kB / 0.84 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.2154, allocations: 3.984 kB / 0.84 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.804e-05/0.2155, allocations: 11.92 kB / 0.84 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2156, allocations: 4 kB / 0.8401 GB, free: 1.625 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.0001675/0.2157, allocations: 192.8 kB / 0.8402 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2158, allocations: 19.86 kB / 0.8403 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.216, allocations: 103.1 kB / 0.8404 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.216, allocations: 4 kB / 0.8404 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.216, allocations: 96 / 0.8404 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.216, allocations: 3.938 kB / 0.8404 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.2162, allocations: 197 kB / 0.8405 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2162, allocations: 0 / 0.8405 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.2162, allocations: 23.92 kB / 0.8406 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2162, allocations: 0 / 0.8406 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.2163, allocations: 4 kB / 0.8406 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2163, allocations: 0 / 0.8406 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2163, allocations: 8 kB / 0.8406 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.2167, allocations: 339.5 kB / 0.8409 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.2168, allocations: 39.77 kB / 0.8409 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.2168, allocations: 4 kB / 0.8409 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.2169, allocations: 8 kB / 0.841 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.217, allocations: 11.92 kB / 0.841 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.217, allocations: 19.97 kB / 0.841 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001436/0.2171, allocations: 164.1 kB / 0.8411 GB, free: 424 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2171, allocations: 0 / 0.8411 GB, free: 424 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002693/0.2174, allocations: 47.98 kB / 0.8412 GB, free: 376 kB / 0.5762 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.0008553/0.2183, allocations: 0.8892 MB / 0.8421 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.2186, allocations: 207.3 kB / 0.8423 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2186, allocations: 0 / 0.8423 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.2187, allocations: 139.3 kB / 0.8424 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.219, allocations: 18.03 kB / 0.8424 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.2215, allocations: 2.233 MB / 0.8446 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.2218, allocations: 0.7236 MB / 0.8453 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.131e-05/0.2219, allocations: 4 kB / 0.8453 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.222, allocations: 43.42 kB / 0.8453 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.222, allocations: 4 kB / 0.8453 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.2459, allocations: 3.746 MB / 0.849 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.3, allocations: 18.42 kB / 0.849 GB, free: 8.371 MB / 0.5919 GB " [Timeout remaining time 649] (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 os._exit(0), Time elapsed: 15.552194774034433] Failed to read output from testmodel.py, exit status != 0: 11.460623486957047 11.484647422 11.269489052 Calling exit ...