Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001404/0.001404, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001673/0.001673, allocations: 219.2 kB / 23.05 MB, free: 5.074 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.064/3.064, allocations: 0.49 GB / 0.7959 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_12_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.001944/0.001944, allocations: 69.2 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003101/0.342, allocations: 1.649 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3432, allocations: 0.6895 MB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.3432, allocations: 0 / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.3434, allocations: 83.77 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.3437, allocations: 103.7 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.344, allocations: 104.5 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.3442, allocations: 127.7 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.3443, allocations: 11.98 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.3445, allocations: 75.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.3447, allocations: 115.7 kB / 1.33 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3447, allocations: 8 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.3448, allocations: 91.91 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.3449, allocations: 23.92 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.345, allocations: 55.61 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.3452, allocations: 187.5 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3453, allocations: 0 / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3453, allocations: 0 / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3453, allocations: 4 kB / 1.33 GB, free: 14.66 MB / 1.029 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.0006983/0.346, allocations: 411.1 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.346, allocations: 12.03 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.232e-05/0.346, allocations: 192 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.346, allocations: 46.67 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3462, allocations: 16.84 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.3465, allocations: 154.9 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.3465, allocations: 4.375 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.3465, allocations: 8.375 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3467, allocations: 123.2 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3467, allocations: 3.984 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3467, allocations: 8 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3467, allocations: 3.938 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.3469, allocations: 63.97 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.3473, allocations: 387.9 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.3475, allocations: 101.2 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3476, allocations: 73.78 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3476, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.3478, allocations: 178.2 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.3478, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005399/0.3484, allocations: 339.2 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.3485, allocations: 110.8 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.3487, allocations: 218.5 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3487, allocations: 25.7 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.3488, allocations: 120.1 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.3488, allocations: 31.75 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.3489, allocations: 29.7 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.349, allocations: 338.8 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.3491, allocations: 51.98 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3492, allocations: 77.97 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.3494, allocations: 204.9 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3494, allocations: 0 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003401/0.3498, allocations: 267.2 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.3498, allocations: 37.7 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3498, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3498, allocations: 4.094 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3499, allocations: 16.06 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3499, allocations: 7.938 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.744e-05/0.35, allocations: 15.83 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.3501, allocations: 7.984 kB / 1.333 GB, free: 10.95 MB / 1.029 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.0001622/0.3502, allocations: 188.1 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.3503, allocations: 15.91 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.3505, allocations: 91.08 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3505, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3505, allocations: 4 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3505, allocations: 3.984 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.3507, allocations: 204.5 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3507, allocations: 4 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.818e-05/0.3507, allocations: 19.92 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3507, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3508, allocations: 4 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3508, allocations: 0 / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3508, allocations: 3.938 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.3512, allocations: 343.5 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.3513, allocations: 31.83 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.3513, allocations: 12 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.3514, allocations: 11.98 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3514, allocations: 7.984 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.3515, allocations: 8 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001445/0.3516, allocations: 171.9 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3516, allocations: 0 / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002548/0.3519, allocations: 43.94 kB / 1.334 GB, free: 9.703 MB / 1.029 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.0008015/0.3527, allocations: 0.9033 MB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.353, allocations: 211.3 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.353, allocations: 0 / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3531, allocations: 135.4 kB / 1.336 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.3534, allocations: 13.72 kB / 1.336 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.3558, allocations: 2.234 MB / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3561, allocations: 0.7352 MB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.3561, allocations: 8 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.3562, allocations: 43.42 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of SimCode: time 5e-07/0.3562, allocations: 0 / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.3792, allocations: 3.735 MB / 1.342 GB, free: 1.672 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.58, allocations: 4.062 kB / 1.342 GB, free: 1.668 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.072320584964473] Failed to read output from testmodel.py, exit status != 0: 11.739990288973786 11.763116211 11.414630066 Calling exit ...