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.0007908/0.0007908, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008151/0.0008151, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9374/0.9374, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001647/0.001647, allocations: 233.7 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.7133/0.7133, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.307e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002117/0.002131, allocations: 1.619 MB / 0.6479 GB, free: 248 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2816/0.2837, allocations: 0.6251 MB / 0.6485 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.2838, allocations: 4.438 kB / 0.6485 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.284, allocations: 79.47 kB / 0.6485 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.2843, allocations: 106.9 kB / 0.6486 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.2846, allocations: 103.4 kB / 0.6487 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.2848, allocations: 129.8 kB / 0.6489 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.2849, allocations: 6.234 kB / 0.6489 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.2851, allocations: 93.19 kB / 0.649 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.2852, allocations: 103.4 kB / 0.6491 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.2853, allocations: 10.94 kB / 0.6491 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.2854, allocations: 82.42 kB / 0.6492 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.2855, allocations: 37.36 kB / 0.6492 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.2855, allocations: 31.67 kB / 0.6492 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.2858, allocations: 192.9 kB / 0.6494 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2858, allocations: 0.5625 kB / 0.6494 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2858, allocations: 2.188 kB / 0.6494 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2858, allocations: 0 / 0.6494 GB, free: 55.7 MB / 0.5573 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.0005281/0.2863, allocations: 411 kB / 0.6498 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.2863, allocations: 10.59 kB / 0.6498 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.678e-05/0.2864, allocations: 39.06 kB / 0.6498 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.2865, allocations: 24.42 kB / 0.6499 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.2867, allocations: 166.2 kB / 0.65 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2867, allocations: 3.594 kB / 0.65 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.2867, allocations: 3.969 kB / 0.65 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.2869, allocations: 154.6 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2869, allocations: 1 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2869, allocations: 7.438 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2869, allocations: 1.531 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.287, allocations: 103 kB / 0.6503 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.2873, allocations: 359.6 kB / 0.6506 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2874, allocations: 143.9 kB / 0.6508 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.2875, allocations: 100.9 kB / 0.6509 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.2875, allocations: 1.938 kB / 0.6509 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.2877, allocations: 203.8 kB / 0.6511 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.2877, allocations: 2.766 kB / 0.6511 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0003815/0.2881, allocations: 409 kB / 0.6515 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.2881, allocations: 107.8 kB / 0.6516 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2882, allocations: 219.1 kB / 0.6518 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.2883, allocations: 28.61 kB / 0.6518 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.2883, allocations: 119.8 kB / 0.6519 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.2883, allocations: 34.77 kB / 0.6519 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.2884, allocations: 35.14 kB / 0.652 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.2884, allocations: 326.9 kB / 0.6523 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/0.2885, allocations: 91.81 kB / 0.6524 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.2885, allocations: 120 kB / 0.6525 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.2887, allocations: 201.9 kB / 0.6527 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2887, allocations: 5.109 kB / 0.6527 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002077/0.2889, allocations: 304.6 kB / 0.653 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.2889, allocations: 38.16 kB / 0.653 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2889, allocations: 1.938 kB / 0.653 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.2889, allocations: 1.688 kB / 0.653 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.289, allocations: 12.7 kB / 0.653 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.289, allocations: 1.906 kB / 0.653 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.289, allocations: 10.27 kB / 0.653 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.2891, allocations: 10.38 kB / 0.653 GB, free: 53.32 MB / 0.5573 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 8.325e-05/0.2891, allocations: 180 kB / 0.6532 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.2892, allocations: 21.42 kB / 0.6532 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.2893, allocations: 98.59 kB / 0.6533 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2893, allocations: 2.781 kB / 0.6533 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2893, allocations: 1.312 kB / 0.6533 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2893, allocations: 2.469 kB / 0.6533 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.817e-05/0.2894, allocations: 188.4 kB / 0.6535 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2894, allocations: 2.438 kB / 0.6535 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.2894, allocations: 10.81 kB / 0.6535 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2894, allocations: 2.625 kB / 0.6535 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2894, allocations: 4.906 kB / 0.6535 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2894, allocations: 4.766 kB / 0.6535 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2894, allocations: 0 / 0.6535 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.2897, allocations: 378.7 kB / 0.6539 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.2897, allocations: 31.84 kB / 0.6539 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2898, allocations: 6.469 kB / 0.6539 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/0.2898, allocations: 9.172 kB / 0.654 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.2899, allocations: 11.52 kB / 0.654 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2899, allocations: 5.969 kB / 0.654 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.523e-05/0.2899, allocations: 169.5 kB / 0.6541 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2899, allocations: 0 / 0.6541 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001673/0.2901, allocations: 47.69 kB / 0.6542 GB, free: 52.64 MB / 0.5573 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.0004062/0.2905, allocations: 0.9331 MB / 0.6551 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.2907, allocations: 276.2 kB / 0.6554 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2907, allocations: 1.656 kB / 0.6554 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.2909, allocations: 173.6 kB / 0.6555 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.291, allocations: 12.05 kB / 0.6555 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.2926, allocations: 2.426 MB / 0.6579 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.266e-05/0.2927, allocations: 109.7 kB / 0.658 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.2927, allocations: 8.812 kB / 0.658 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.2927, allocations: 45.09 kB / 0.6581 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of SimCode: time 4.01e-07/0.2927, allocations: 2.562 kB / 0.6581 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.3101, allocations: 4.278 MB / 0.6622 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.793, allocations: 6.594 kB / 0.6622 GB, free: 48.8 MB / 0.5573 GB " [Timeout remaining time 652] (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: 10.759843938983977] Failed to read output from testmodel.py, exit status != 0: 7.873899810016155 7.884404448 7.595860894 Calling exit ...