Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001628/0.001628, allocations: 101.3 kB / 19.73 MB, free: 2.109 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.00204/0.00204, allocations: 218.7 kB / 23.03 MB, free: 4.91 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.704/2.704, allocations: 476.8 MB / 0.7715 GB, free: 3.863 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001918/0.001918, allocations: 61.55 kB / 1.118 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2842, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002804/0.287, allocations: 1.602 MB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2882, allocations: 0.6328 MB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.2882, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.2884, allocations: 79.75 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.2886, allocations: 111.6 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.289, allocations: 99.78 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.2892, allocations: 131.6 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.334e-05/0.2892, allocations: 7.984 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.2894, allocations: 83.78 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.2896, allocations: 111.8 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.2896, allocations: 4 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.2898, allocations: 91.86 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.2899, allocations: 31.91 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.983e-05/0.2899, allocations: 39.73 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.2902, allocations: 178.8 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2902, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2902, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2902, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 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.0006989/0.2909, allocations: 411.1 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2909, allocations: 12.03 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.53e-05/0.291, allocations: 192 / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.291, allocations: 42.73 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.2912, allocations: 24.8 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.2914, allocations: 158.2 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.2914, allocations: 8.375 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.2915, allocations: 4.375 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.2917, allocations: 158 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2917, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.2917, allocations: 12 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2917, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.2919, allocations: 101.6 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.2923, allocations: 364 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.2925, allocations: 134.8 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.2926, allocations: 107.5 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2926, allocations: 0 / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.2929, allocations: 208.5 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 3.125e-06/0.2929, allocations: 4 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005778/0.2935, allocations: 398.5 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.2936, allocations: 114.8 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.2938, allocations: 219.9 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.2938, allocations: 25.7 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.2939, allocations: 120.1 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.2939, allocations: 43.67 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.294, allocations: 29.7 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2941, allocations: 334.8 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2942, allocations: 89.67 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.2944, allocations: 107.4 kB / 1.29 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.2946, allocations: 208.9 kB / 1.29 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2946, allocations: 0 / 1.29 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003662/0.2949, allocations: 304.9 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.295, allocations: 43.72 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.295, allocations: 0 / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.295, allocations: 0 / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.2951, allocations: 12 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2951, allocations: 0 / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2952, allocations: 19.91 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.2952, allocations: 8 kB / 1.291 GB, free: 3.363 MB / 0.9825 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.0001631/0.2954, allocations: 191.4 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.2954, allocations: 15.91 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.2956, allocations: 99.06 kB / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2956, allocations: 0 / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2957, allocations: 0 / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2957, allocations: 4.375 kB / 1.291 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.2959, allocations: 188.6 kB / 1.291 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2959, allocations: 4 kB / 1.291 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.2959, allocations: 8 kB / 1.291 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2959, allocations: 12.03 kB / 1.291 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.2959, allocations: 7.922 kB / 1.291 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2959, allocations: 4 kB / 1.291 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2959, allocations: 0 / 1.291 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.2964, allocations: 374.8 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.2964, allocations: 31.83 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.2965, allocations: 7.984 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.2966, allocations: 4 kB / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.2966, allocations: 11.98 kB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2966, allocations: 7.938 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001439/0.2968, allocations: 168.4 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2968, allocations: 4 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002593/0.2971, allocations: 43.94 kB / 1.292 GB, free: 2.098 MB / 0.9825 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.0008058/0.2979, allocations: 0.9172 MB / 1.293 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.2982, allocations: 274.7 kB / 1.293 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2982, allocations: 0 / 1.293 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.2984, allocations: 173 kB / 1.293 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.2986, allocations: 15.94 kB / 1.293 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.3012, allocations: 2.44 MB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.3013, allocations: 102.1 kB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.3014, allocations: 15.91 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.3014, allocations: 43.42 kB / 1.296 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.3014, allocations: 4 kB / 1.296 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.3271, allocations: 3.807 MB / 1.3 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.91, allocations: 2.031 kB / 1.3 GB, free: 10.25 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.175292756059207] Failed to read output from testmodel.py, exit status != 0: 12.52677680994384 12.09814944 11.803517955 Calling exit ...