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.001337/0.001337, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001475/0.001475, allocations: 214.7 kB / 22.25 MB, free: 5.074 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 8 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.002482/0.002482, allocations: 285.7 kB / 312.7 MB, free: 2.801 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.156/1.156, allocations: 180.6 MB / 0.5369 GB, free: 13 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.002763/0.002763, allocations: 104.7 kB / 0.7396 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1593, allocations: 95.39 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002792/0.1621, allocations: 1.642 MB / 0.8343 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1633, allocations: 0.6972 MB / 0.835 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.1633, allocations: 3.938 kB / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.1635, allocations: 71.81 kB / 0.8351 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.1638, allocations: 107.7 kB / 0.8352 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.1641, allocations: 100.5 kB / 0.8353 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1643, allocations: 127.7 kB / 0.8354 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.367e-05/0.1644, allocations: 11.98 kB / 0.8354 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1645, allocations: 75.8 kB / 0.8355 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1647, allocations: 119.7 kB / 0.8356 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.1647, allocations: 4 kB / 0.8356 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1649, allocations: 99.86 kB / 0.8357 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.1649, allocations: 27.92 kB / 0.8357 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.998e-05/0.165, allocations: 59.59 kB / 0.8358 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.1653, allocations: 175.5 kB / 0.8359 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1653, allocations: 4 kB / 0.836 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1653, allocations: 0 / 0.836 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.1653, allocations: 0 / 0.836 GB, free: 5.32 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.0006676/0.166, allocations: 415 kB / 0.8363 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.166, allocations: 9.344 kB / 0.8364 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.166, allocations: 42.73 kB / 0.8364 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.1662, allocations: 20.84 kB / 0.8364 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1664, allocations: 162.2 kB / 0.8366 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1664, allocations: 4.375 kB / 0.8366 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1665, allocations: 384 / 0.8366 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1667, allocations: 127.4 kB / 0.8367 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1667, allocations: 0 / 0.8367 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1667, allocations: 4 kB / 0.8367 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1667, allocations: 4 kB / 0.8367 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1668, allocations: 71.95 kB / 0.8368 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.1673, allocations: 372 kB / 0.8371 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1674, allocations: 105.2 kB / 0.8372 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-05/0.1675, allocations: 73.73 kB / 0.8373 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1676, allocations: 3.984 kB / 0.8373 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.1678, allocations: 176.5 kB / 0.8375 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.1678, allocations: 0 / 0.8375 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005194/0.1683, allocations: 339.3 kB / 0.8378 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.1684, allocations: 110.8 kB / 0.8379 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1686, allocations: 219.2 kB / 0.8381 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1687, allocations: 25.7 kB / 0.8381 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.1687, allocations: 116.1 kB / 0.8382 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.1688, allocations: 35.7 kB / 0.8383 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.1688, allocations: 25.7 kB / 0.8383 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.169, allocations: 334.8 kB / 0.8386 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.1691, allocations: 64.03 kB / 0.8387 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1692, allocations: 85.62 kB / 0.8388 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.1694, allocations: 197 kB / 0.839 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1694, allocations: 4 kB / 0.839 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003335/0.1697, allocations: 267.1 kB / 0.8392 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.1698, allocations: 33.69 kB / 0.8392 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1698, allocations: 4 kB / 0.8392 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1698, allocations: 0 / 0.8392 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.1699, allocations: 19.92 kB / 0.8393 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1699, allocations: 4 kB / 0.8393 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.17, allocations: 11.94 kB / 0.8393 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.17, allocations: 4 kB / 0.8393 GB, free: 1.609 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.0001662/0.1701, allocations: 188.2 kB / 0.8395 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.1702, allocations: 19.86 kB / 0.8395 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.1704, allocations: 99 kB / 0.8396 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1704, allocations: 4 kB / 0.8396 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1704, allocations: 4 kB / 0.8396 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1704, allocations: 0 / 0.8396 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.1706, allocations: 200.6 kB / 0.8398 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1706, allocations: 4 kB / 0.8398 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.1706, allocations: 8 kB / 0.8398 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1706, allocations: 0 / 0.8398 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1707, allocations: 11.98 kB / 0.8398 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1707, allocations: 128 / 0.8398 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1707, allocations: 4 kB / 0.8398 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.1711, allocations: 351.4 kB / 0.8401 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.1712, allocations: 35.78 kB / 0.8402 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.1712, allocations: 4 kB / 0.8402 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-05/0.1713, allocations: 7.984 kB / 0.8402 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.1713, allocations: 11.98 kB / 0.8402 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.1714, allocations: 4 kB / 0.8402 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001386/0.1715, allocations: 164.3 kB / 0.8404 GB, free: 428 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1715, allocations: 11.88 kB / 0.8404 GB, free: 416 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002556/0.1718, allocations: 47.94 kB / 0.8404 GB, free: 368 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.0008202/0.1726, allocations: 0.886 MB / 0.8413 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1729, allocations: 215.3 kB / 0.8415 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1729, allocations: 4 kB / 0.8415 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.1731, allocations: 131.4 kB / 0.8416 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1733, allocations: 14.22 kB / 0.8416 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.1757, allocations: 2.241 MB / 0.8438 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.176, allocations: 0.7275 MB / 0.8445 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.1761, allocations: 12.16 kB / 0.8445 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.1761, allocations: 39.42 kB / 0.8446 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.1761, allocations: 0 / 0.8446 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.2053, allocations: 3.704 MB / 0.8482 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.44, allocations: 10.98 kB / 0.8482 GB, free: 8.383 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 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: 14.435068850998505] Failed to read output from testmodel.py, exit status != 0: 10.536580975000106 10.562442074 10.392703454 Calling exit ...