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.001849/0.001849, allocations: 115.6 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.002316/0.002316, allocations: 215 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.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.752/2.752, allocations: 476.7 MB / 0.7678 GB, free: 9.406 MB / 0.6075 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.001994/0.001994, allocations: 71.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8598/0.8618, allocations: 169.9 MB / 1.279 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003068/0.8649, allocations: 1.634 MB / 1.281 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.8661, allocations: 0.6912 MB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.8662, allocations: 1.062 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.8663, allocations: 77.95 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.8666, allocations: 103 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.867, allocations: 108.2 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.8672, allocations: 129.6 kB / 1.282 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.795e-05/0.8673, allocations: 4.609 kB / 1.282 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.8675, allocations: 81.56 kB / 1.282 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.8678, allocations: 117 kB / 1.282 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.8678, allocations: 6.312 kB / 1.282 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.868, allocations: 88.55 kB / 1.282 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.8681, allocations: 30.47 kB / 1.282 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.8681, allocations: 53.98 kB / 1.282 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.8684, allocations: 183.3 kB / 1.282 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8684, allocations: 0.7969 kB / 1.282 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8684, allocations: 0 / 1.282 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.8684, allocations: 0 / 1.282 GB, free: 9.996 MB / 0.9981 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.0007764/0.8692, allocations: 488.1 kB / 1.283 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.8693, allocations: 9.125 kB / 1.283 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.207e-05/0.8693, allocations: 5.812 kB / 1.283 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.8693, allocations: 35.89 kB / 1.283 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.8695, allocations: 30.27 kB / 1.283 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.8697, allocations: 213.6 kB / 1.283 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.8698, allocations: 6.969 kB / 1.283 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.8698, allocations: 3.094 kB / 1.283 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.87, allocations: 130 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.87, allocations: 0 / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.87, allocations: 1.312 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.87, allocations: 1.312 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.8702, allocations: 74.72 kB / 1.283 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.8707, allocations: 408.2 kB / 1.283 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.8708, allocations: 113.3 kB / 1.284 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.8709, allocations: 72.66 kB / 1.284 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.871, allocations: 1.406 kB / 1.284 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.8712, allocations: 166.4 kB / 1.284 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.8712, allocations: 0 / 1.284 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0005668/0.8718, allocations: 342.3 kB / 1.284 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.8719, allocations: 106.6 kB / 1.284 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.8721, allocations: 223.7 kB / 1.284 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.8721, allocations: 27.02 kB / 1.284 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.8722, allocations: 111.1 kB / 1.285 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.8722, allocations: 40.16 kB / 1.285 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.8723, allocations: 35.7 kB / 1.285 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8724, allocations: 333 kB / 1.285 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.8725, allocations: 58.12 kB / 1.285 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.8726, allocations: 79.7 kB / 1.285 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.8729, allocations: 197.4 kB / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8729, allocations: 0.875 kB / 1.285 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003677/0.8732, allocations: 266.5 kB / 1.286 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.8733, allocations: 38.86 kB / 1.286 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8733, allocations: 1.734 kB / 1.286 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.8733, allocations: 0.9062 kB / 1.286 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.8734, allocations: 16.3 kB / 1.286 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.8734, allocations: 1.922 kB / 1.286 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.8735, allocations: 15.41 kB / 1.286 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.8735, allocations: 8.281 kB / 1.286 GB, free: 7.289 MB / 0.9981 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.0001608/0.8737, allocations: 180.8 kB / 1.286 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.8737, allocations: 17.97 kB / 1.286 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.8739, allocations: 102.7 kB / 1.286 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.8739, allocations: 1.781 kB / 1.286 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8739, allocations: 1.344 kB / 1.286 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8739, allocations: 4.703 kB / 1.286 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.8742, allocations: 242.4 kB / 1.286 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.8742, allocations: 0 / 1.286 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.8742, allocations: 10.19 kB / 1.286 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.8742, allocations: 1.438 kB / 1.286 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.8742, allocations: 4.281 kB / 1.286 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8742, allocations: 2.156 kB / 1.286 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8742, allocations: 0 / 1.286 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.8747, allocations: 341.4 kB / 1.286 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.641e-05/0.8748, allocations: 107.7 kB / 1.287 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.8748, allocations: 9.078 kB / 1.287 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.8749, allocations: 6.672 kB / 1.287 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.875, allocations: 15.97 kB / 1.287 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.875, allocations: 6.594 kB / 1.287 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001491/0.8751, allocations: 167.4 kB / 1.287 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8751, allocations: 0 / 1.287 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002722/0.8754, allocations: 44.53 kB / 1.287 GB, free: 6.422 MB / 0.9981 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.0008199/0.8762, allocations: 0.9003 MB / 1.288 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.8766, allocations: 210.7 kB / 1.288 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8766, allocations: 0 / 1.288 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.8767, allocations: 142.9 kB / 1.288 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.877, allocations: 11.98 kB / 1.288 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.8794, allocations: 2.241 MB / 1.29 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.8798, allocations: 0.7239 MB / 1.291 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.289e-05/0.8798, allocations: 9.953 kB / 1.291 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.8799, allocations: 43.66 kB / 1.291 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.8799, allocations: 3.938 kB / 1.291 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.908, allocations: 3.586 MB / 1.295 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.804, allocations: 8.531 kB / 1.295 GB, free: 2.688 MB / 0.9981 GB " [Timeout remaining time 291] (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: 14.940436310018413] Failed to read output from testmodel.py, exit status != 0: 8.925229378044605 8.940903958 8.069425383 Calling exit ...