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.0008131/0.0008131, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007855/0.0007855, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9646/0.9646, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001486/0.001486, allocations: 244.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.7602/0.7602, allocations: 138.4 MB / 454.3 MB, free: 30.12 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.874e-06/1.874e-06, allocations: 3.938 kB / 0.6463 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.83e-05, allocations: 4.672 kB / 0.6463 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002367/0.002386, allocations: 1.616 MB / 0.6479 GB, free: 300 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2707/0.2731, allocations: 0.6247 MB / 0.6485 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.2733, allocations: 3.109 kB / 0.6485 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.2736, allocations: 78.75 kB / 0.6485 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.274, allocations: 103.4 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.2745, allocations: 102.6 kB / 0.6487 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.2747, allocations: 137 kB / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2749, allocations: 5.422 kB / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.2751, allocations: 93.47 kB / 0.649 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.2753, allocations: 107.1 kB / 0.6491 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.2753, allocations: 6.719 kB / 0.6491 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2754, allocations: 83.62 kB / 0.6492 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.2755, allocations: 32.59 kB / 0.6492 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.2756, allocations: 32.91 kB / 0.6492 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.2759, allocations: 194.3 kB / 0.6494 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2759, allocations: 4.531 kB / 0.6494 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2759, allocations: 0 / 0.6494 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2759, allocations: 1.625 kB / 0.6494 GB, free: 55.77 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.0005739/0.2765, allocations: 409.2 kB / 0.6498 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2765, allocations: 11.75 kB / 0.6498 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.689e-05/0.2765, allocations: 37.44 kB / 0.6498 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.2767, allocations: 22.52 kB / 0.6499 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.2769, allocations: 171.3 kB / 0.65 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2769, allocations: 2.344 kB / 0.65 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.2769, allocations: 4.75 kB / 0.65 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.2771, allocations: 154.5 kB / 0.6502 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2771, allocations: 192 / 0.6502 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2771, allocations: 5.281 kB / 0.6502 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2771, allocations: 2.578 kB / 0.6502 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.2773, allocations: 105.4 kB / 0.6503 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.2776, allocations: 356.1 kB / 0.6506 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.2777, allocations: 140.8 kB / 0.6508 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.2778, allocations: 104.6 kB / 0.6509 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.2778, allocations: 2.312 kB / 0.6509 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.278, allocations: 208.7 kB / 0.6511 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.278, allocations: 1.469 kB / 0.6511 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.000393/0.2784, allocations: 406.7 kB / 0.6515 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.2784, allocations: 111.9 kB / 0.6516 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.2786, allocations: 217.4 kB / 0.6518 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.2786, allocations: 31.11 kB / 0.6518 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.2786, allocations: 115.2 kB / 0.6519 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.2787, allocations: 37.98 kB / 0.6519 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.2787, allocations: 26.06 kB / 0.652 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/0.2787, allocations: 329 kB / 0.6523 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.2788, allocations: 92.75 kB / 0.6524 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.2789, allocations: 115.4 kB / 0.6525 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.279, allocations: 197.6 kB / 0.6527 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.279, allocations: 5.656 kB / 0.6527 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002269/0.2792, allocations: 307.8 kB / 0.653 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.2793, allocations: 42.27 kB / 0.653 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2793, allocations: 0 / 0.653 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2793, allocations: 1.875 kB / 0.653 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.2794, allocations: 12.61 kB / 0.653 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2794, allocations: 1.031 kB / 0.653 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.2794, allocations: 8.766 kB / 0.653 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2794, allocations: 6.344 kB / 0.653 GB, free: 53.39 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.981e-05/0.2795, allocations: 182.8 kB / 0.6532 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.2796, allocations: 23.95 kB / 0.6532 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.2797, allocations: 101.3 kB / 0.6533 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2797, allocations: 2.625 kB / 0.6533 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2797, allocations: 0 / 0.6533 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2797, allocations: 6.609 kB / 0.6533 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.2799, allocations: 185.7 kB / 0.6535 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2799, allocations: 2.047 kB / 0.6535 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.2799, allocations: 11.66 kB / 0.6535 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2799, allocations: 1.688 kB / 0.6535 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2799, allocations: 13.58 kB / 0.6535 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2799, allocations: 1.812 kB / 0.6535 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2799, allocations: 3.625 kB / 0.6535 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.2802, allocations: 381 kB / 0.6539 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.2802, allocations: 31.08 kB / 0.6539 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.2803, allocations: 7.938 kB / 0.6539 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.2803, allocations: 6.609 kB / 0.654 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.2804, allocations: 9.141 kB / 0.654 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.2804, allocations: 10.5 kB / 0.654 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.106e-05/0.2805, allocations: 164.2 kB / 0.6541 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2805, allocations: 3.156 kB / 0.6541 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000279/0.2807, allocations: 44.39 kB / 0.6542 GB, free: 52.74 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.0006032/0.2813, allocations: 0.9285 MB / 0.6551 GB, free: 52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.2816, allocations: 278.9 kB / 0.6553 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2816, allocations: 0 / 0.6553 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.2817, allocations: 168 kB / 0.6555 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.2819, allocations: 19.19 kB / 0.6555 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.2839, allocations: 2.422 MB / 0.6579 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.092e-05/0.284, allocations: 112.1 kB / 0.658 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.284, allocations: 9.672 kB / 0.658 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.2841, allocations: 49.66 kB / 0.6581 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/0.2841, allocations: 3.938 kB / 0.6581 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.3017, allocations: 4.269 MB / 0.6622 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/7.072, allocations: 14.14 kB / 0.6622 GB, free: 48.88 MB / 0.5573 GB " [Timeout remaining time 653] (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: 10.033174443989992] Failed to read output from testmodel.py, exit status != 0: 7.1526966486126184 7.161213609 6.88298635 Calling exit ...