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.001847/0.001847, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.002321/0.002321, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.14 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.002418/0.002418, allocations: 282.1 kB / 309.8 MB, free: 3.5 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.079/1.079, allocations: 180.6 MB / 0.5338 GB, free: 12.43 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",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.002901/0.002901, allocations: 95.86 kB / 0.7347 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5355/0.5384, allocations: 95.34 MB / 0.8278 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002834/0.5413, allocations: 1.643 MB / 0.8294 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.5423, allocations: 0.6856 MB / 0.83 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.5424, allocations: 1.406 kB / 0.83 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.5425, allocations: 69.06 kB / 0.8301 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.5428, allocations: 117 kB / 0.8302 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.5431, allocations: 102.9 kB / 0.8303 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.5432, allocations: 127.4 kB / 0.8304 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.44e-05/0.5433, allocations: 5.344 kB / 0.8304 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.5435, allocations: 74.48 kB / 0.8305 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.5437, allocations: 112.8 kB / 0.8306 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.5437, allocations: 6.531 kB / 0.8306 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.5438, allocations: 103.4 kB / 0.8307 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.5439, allocations: 34.67 kB / 0.8307 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.5439, allocations: 53.2 kB / 0.8308 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.5442, allocations: 172.5 kB / 0.831 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5442, allocations: 0 / 0.831 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5442, allocations: 0 / 0.831 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.5442, allocations: 1.438 kB / 0.831 GB, free: 1.129 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.0006187/0.5448, allocations: 492.7 kB / 0.8314 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5448, allocations: 10.5 kB / 0.8314 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.251e-05/0.5449, allocations: 4.188 kB / 0.8315 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.464e-05/0.5449, allocations: 38.64 kB / 0.8315 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.545, allocations: 21.2 kB / 0.8315 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.5453, allocations: 214.9 kB / 0.8317 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5453, allocations: 3.609 kB / 0.8317 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.5453, allocations: 7 kB / 0.8317 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.5455, allocations: 118.9 kB / 0.8318 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5455, allocations: 6.625 kB / 0.8318 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.5455, allocations: 4.75 kB / 0.8318 GB, free: 312 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5455, allocations: 0 / 0.8318 GB, free: 312 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.5456, allocations: 79.23 kB / 0.8319 GB, free: 288 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.5461, allocations: 412.1 kB / 0.8323 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.5462, allocations: 108.7 kB / 0.8324 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-05/0.5463, allocations: 73.89 kB / 0.8325 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.5464, allocations: 0 / 0.8325 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.5466, allocations: 170.1 kB / 0.8327 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.5466, allocations: 2 kB / 0.8327 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005236/0.5471, allocations: 344.5 kB / 0.833 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.5472, allocations: 111.4 kB / 0.8331 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.5474, allocations: 210.1 kB / 0.8333 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.5474, allocations: 33.34 kB / 0.8333 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.5475, allocations: 118.7 kB / 0.8334 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.5476, allocations: 32.34 kB / 0.8335 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.5476, allocations: 33.86 kB / 0.8335 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5478, allocations: 337.8 kB / 0.8338 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.5479, allocations: 57.45 kB / 0.8339 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-05/0.548, allocations: 77.09 kB / 0.8339 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.5482, allocations: 193.6 kB / 0.8341 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5482, allocations: 256 / 0.8341 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003352/0.5485, allocations: 269.9 kB / 0.8344 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.5486, allocations: 40 kB / 0.8344 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5486, allocations: 0 / 0.8344 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.5486, allocations: 8.688 kB / 0.8344 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.5487, allocations: 13.09 kB / 0.8344 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5487, allocations: 2.328 kB / 0.8345 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.601e-05/0.5488, allocations: 11.91 kB / 0.8345 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.5488, allocations: 4.562 kB / 0.8345 GB, free: 14.42 MB / 0.5919 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.0001783/0.549, allocations: 187.8 kB / 0.8346 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.549, allocations: 22.48 kB / 0.8347 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.5492, allocations: 98.41 kB / 0.8348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5492, allocations: 2.344 kB / 0.8348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5492, allocations: 0 / 0.8348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5492, allocations: 0.6562 kB / 0.8348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.5495, allocations: 238.7 kB / 0.835 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5495, allocations: 0 / 0.835 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.5495, allocations: 10.88 kB / 0.835 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5495, allocations: 96 / 0.835 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.5496, allocations: 8.156 kB / 0.835 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.5496, allocations: 6.406 kB / 0.835 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5496, allocations: 0 / 0.835 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.55, allocations: 334.4 kB / 0.8353 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5501, allocations: 108 kB / 0.8354 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.5501, allocations: 4.609 kB / 0.8354 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.5502, allocations: 12.19 kB / 0.8355 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.5503, allocations: 7.062 kB / 0.8355 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.5503, allocations: 9.625 kB / 0.8355 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001407/0.5504, allocations: 172.1 kB / 0.8356 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5504, allocations: 0 / 0.8356 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002643/0.5507, allocations: 50.94 kB / 0.8357 GB, free: 13.55 MB / 0.5919 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.0008265/0.5515, allocations: 0.8984 MB / 0.8366 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.5519, allocations: 222.8 kB / 0.8368 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5519, allocations: 0 / 0.8368 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.552, allocations: 139.3 kB / 0.8369 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.5522, allocations: 12.78 kB / 0.8369 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.5548, allocations: 2.237 MB / 0.8391 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.5552, allocations: 0.7291 MB / 0.8398 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.5553, allocations: 7.281 kB / 0.8398 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.5554, allocations: 44.64 kB / 0.8399 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.5554, allocations: 0 / 0.8399 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.5769, allocations: 3.609 MB / 0.8434 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.808, allocations: 4.281 kB / 0.8434 GB, free: 9.848 MB / 0.5919 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.967107861011755] Failed to read output from testmodel.py, exit status != 0: 8.93817931303056 8.96258479 8.414088279 Calling exit ...