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.001306/0.001306, 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.00152/0.00152, 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.9674/0.9674, allocations: 150 MB / 463.2 MB, free: 10.45 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.001994/0.001994, allocations: 63.59 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2024, allocations: 89.17 MB / 0.7283 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003138/0.2056, allocations: 1.626 MB / 0.7299 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.2069, allocations: 0.7011 MB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.207, allocations: 4 kB / 0.7306 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2072, allocations: 71.83 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.2075, allocations: 103.6 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.208, allocations: 107.8 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.2082, allocations: 127.7 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.2083, allocations: 7.984 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.2085, allocations: 75.75 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.2087, allocations: 115.7 kB / 0.7312 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.2087, allocations: 8 kB / 0.7312 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.2089, allocations: 91.84 kB / 0.7313 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.209, allocations: 27.92 kB / 0.7313 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.432e-05/0.2091, allocations: 67.61 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.2094, allocations: 167.6 kB / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2094, allocations: 0 / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2094, allocations: 0 / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2094, allocations: 0 / 0.7315 GB, free: 13.92 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.0008193/0.2102, allocations: 422.9 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2102, allocations: 12.03 kB / 0.732 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.2103, allocations: 38.73 kB / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.2105, allocations: 28.8 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.2108, allocations: 162.2 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2108, allocations: 384 / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.2108, allocations: 4.375 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.211, allocations: 123.5 kB / 0.7323 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2111, allocations: 0 / 0.7323 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2111, allocations: 0 / 0.7323 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2111, allocations: 4 kB / 0.7323 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2112, allocations: 83.89 kB / 0.7324 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.2117, allocations: 376 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.2119, allocations: 109.1 kB / 0.7328 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.212, allocations: 65.8 kB / 0.7329 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2121, allocations: 7.984 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.2124, allocations: 170.7 kB / 0.7331 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.2124, allocations: 0 / 0.7331 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005779/0.213, allocations: 331.2 kB / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/0.2131, allocations: 110.8 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.2133, allocations: 220.7 kB / 0.7337 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.2133, allocations: 29.7 kB / 0.7337 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.2134, allocations: 116.1 kB / 0.7339 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.2135, allocations: 35.83 kB / 0.7339 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.2135, allocations: 33.7 kB / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2137, allocations: 326.8 kB / 0.7342 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.2138, allocations: 63.97 kB / 0.7343 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.2139, allocations: 84.22 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.2141, allocations: 201 kB / 0.7346 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2141, allocations: 0 / 0.7346 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003625/0.2145, allocations: 263.2 kB / 0.7348 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.2145, allocations: 39.72 kB / 0.7349 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2145, allocations: 0 / 0.7349 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2146, allocations: 4 kB / 0.7349 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2147, allocations: 15.98 kB / 0.7349 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2147, allocations: 4 kB / 0.7349 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2148, allocations: 15.89 kB / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.2148, allocations: 4 kB / 0.7349 GB, free: 10.2 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.0001891/0.215, allocations: 181.4 kB / 0.7351 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.215, allocations: 23.98 kB / 0.7351 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.2153, allocations: 99 kB / 0.7352 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2153, allocations: 384 / 0.7352 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.2153, allocations: 4 kB / 0.7352 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2153, allocations: 0 / 0.7352 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.2156, allocations: 212.5 kB / 0.7354 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2156, allocations: 0 / 0.7354 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.2156, allocations: 8 kB / 0.7354 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2156, allocations: 4 kB / 0.7354 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.2157, allocations: 11.98 kB / 0.7354 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2157, allocations: 0 / 0.7354 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2157, allocations: 0 / 0.7354 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.2161, allocations: 339.4 kB / 0.7357 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.2162, allocations: 27.83 kB / 0.7358 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.2163, allocations: 7.938 kB / 0.7358 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2164, allocations: 11.98 kB / 0.7358 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.2164, allocations: 7.984 kB / 0.7358 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.2164, allocations: 8 kB / 0.7358 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001489/0.2166, allocations: 168 kB / 0.736 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2166, allocations: 0 / 0.736 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002758/0.2169, allocations: 47.94 kB / 0.736 GB, free: 8.969 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.0009301/0.2178, allocations: 0.892 MB / 0.7369 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.2182, allocations: 215.5 kB / 0.7371 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2182, allocations: 3.938 kB / 0.7371 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.2183, allocations: 135.3 kB / 0.7372 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.2185, allocations: 22.8 kB / 0.7372 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.2211, allocations: 2.235 MB / 0.7394 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.2215, allocations: 0.7245 MB / 0.7401 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.764e-05/0.2216, allocations: 12.16 kB / 0.7401 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.2216, allocations: 43.42 kB / 0.7402 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2216, allocations: 0 / 0.7402 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.2529, allocations: 3.682 MB / 0.7438 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.4, allocations: 12.38 kB / 0.7438 GB, free: 0.9961 MB / 0.5606 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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: 15.200291387998732] Failed to read output from testmodel.py, exit status != 0: 11.506563268001628 11.530502619 11.316934058 Calling exit ...