Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001368/0.001368, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001626/0.001626, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.065/3.065, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_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.00196/0.00196, allocations: 63.91 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8847/0.8867, allocations: 178.9 MB / 1.34 GB, free: 16.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002526/0.8892, allocations: 1.63 MB / 1.342 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.8902, allocations: 0.6924 MB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.8903, allocations: 1.25 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.8905, allocations: 77.19 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.8907, allocations: 111.4 kB / 1.343 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.8911, allocations: 100.2 kB / 1.343 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.8913, allocations: 133.6 kB / 1.343 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.392e-05/0.8913, allocations: 4.734 kB / 1.343 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.8915, allocations: 77.92 kB / 1.343 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.8917, allocations: 112.2 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.8917, allocations: 6.031 kB / 1.343 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.8919, allocations: 96.92 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.8919, allocations: 31.17 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.892, allocations: 55.61 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.8922, allocations: 169.7 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8922, allocations: 7.938 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8922, allocations: 0 / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.8922, allocations: 0 / 1.343 GB, free: 14.51 MB / 1.061 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.0006261/0.8929, allocations: 487.6 kB / 1.344 GB, free: 14.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.8929, allocations: 15.69 kB / 1.344 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.388e-05/0.8929, allocations: 4.734 kB / 1.344 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.482e-05/0.8929, allocations: 34.77 kB / 1.344 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.8931, allocations: 21.81 kB / 1.344 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.8933, allocations: 221.9 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.8933, allocations: 3.125 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.8934, allocations: 3.688 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.8936, allocations: 130.5 kB / 1.344 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.8936, allocations: 3.938 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.8936, allocations: 1.984 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8936, allocations: 1.375 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.8937, allocations: 71.31 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.894, allocations: 407 kB / 1.345 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.8942, allocations: 113.3 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.8943, allocations: 68.77 kB / 1.345 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.8943, allocations: 9.953 kB / 1.345 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.8945, allocations: 177.8 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.8945, allocations: 4 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005173/0.8951, allocations: 337.2 kB / 1.345 GB, free: 12.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.8951, allocations: 108.1 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.8953, allocations: 225.7 kB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.8953, allocations: 27.44 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.8953, allocations: 111.6 kB / 1.346 GB, free: 12.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.8954, allocations: 40.16 kB / 1.346 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.8954, allocations: 28.2 kB / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.8955, allocations: 337.4 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.8956, allocations: 56.66 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.119e-05/0.8957, allocations: 80.56 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.8958, allocations: 194.3 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8958, allocations: 0 / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003028/0.8961, allocations: 270 kB / 1.347 GB, free: 11.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.8962, allocations: 34.97 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.8962, allocations: 2.078 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.8962, allocations: 5.406 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.8963, allocations: 15.72 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.8963, allocations: 2.156 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.8964, allocations: 11.56 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.8965, allocations: 3.844 kB / 1.347 GB, free: 11.8 MB / 1.061 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.0001149/0.8966, allocations: 182.2 kB / 1.347 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.8966, allocations: 19.22 kB / 1.347 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.8968, allocations: 101.7 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.8968, allocations: 1.625 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8968, allocations: 1.875 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8968, allocations: 0.7969 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.897, allocations: 241.2 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.897, allocations: 1.25 kB / 1.347 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.897, allocations: 13.94 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.897, allocations: 1.281 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.897, allocations: 4.031 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.897, allocations: 1.188 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8971, allocations: 4.656 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.8974, allocations: 335.6 kB / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.8975, allocations: 104 kB / 1.348 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.8975, allocations: 7.312 kB / 1.348 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.8976, allocations: 7.469 kB / 1.348 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.8977, allocations: 16.58 kB / 1.348 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.8977, allocations: 8.984 kB / 1.348 GB, free: 11.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001188/0.8978, allocations: 164.3 kB / 1.348 GB, free: 10.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8978, allocations: 0 / 1.348 GB, free: 10.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002775/0.8981, allocations: 47.48 kB / 1.348 GB, free: 10.94 MB / 1.061 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.000611/0.8987, allocations: 0.8945 MB / 1.349 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.899, allocations: 207.3 kB / 1.349 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.899, allocations: 0 / 1.349 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.8992, allocations: 139.8 kB / 1.349 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.8994, allocations: 10.75 kB / 1.349 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.9015, allocations: 2.248 MB / 1.351 GB, free: 8.508 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.9016, allocations: 0.7235 MB / 1.352 GB, free: 7.809 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.893e-05/0.9017, allocations: 6.156 kB / 1.352 GB, free: 7.809 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.9017, allocations: 39.86 kB / 1.352 GB, free: 7.777 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.9017, allocations: 192 / 1.352 GB, free: 7.777 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.9242, allocations: 3.61 MB / 1.356 GB, free: 7.207 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.658/9.582, allocations: 15.44 kB / 1.356 GB, free: 7.199 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.013912391965277] Failed to read output from testmodel.py, exit status != 0: 9.710490224009845 9.73264406 8.836431558 Calling exit ...