Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0006971/0.0006971, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007248/0.0007248, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.822/0.822, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6701/0.6701, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.27e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001573/0.001585, allocations: 1.617 MB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006609/0.002246, allocations: 0.6387 MB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.002286, allocations: 0 / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.002392, allocations: 79.77 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.002565, allocations: 107.5 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.002788, allocations: 107.7 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.002905, allocations: 131.6 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.00296, allocations: 4 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.003102, allocations: 91.77 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.003215, allocations: 107.8 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.003229, allocations: 4 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.102e-05/0.003321, allocations: 87.86 kB / 0.6222 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.003362, allocations: 31.91 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.0034, allocations: 35.86 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.00358, allocations: 195.4 kB / 0.6225 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003582, allocations: 0 / 0.6225 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003582, allocations: 0 / 0.6225 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003586, allocations: 0 / 0.6225 GB, free: 9.934 MB / 0.5886 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.0004176/0.004003, allocations: 415.1 kB / 0.6229 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.00403, allocations: 8.031 kB / 0.6229 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.004126, allocations: 20.84 kB / 0.6229 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.004275, allocations: 165.4 kB / 0.623 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.004285, allocations: 384 / 0.623 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.004296, allocations: 12.38 kB / 0.6231 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.00467, allocations: 153.6 kB / 0.6232 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.004676, allocations: 192 / 0.6232 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.004688, allocations: 4.359 kB / 0.6232 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004693, allocations: 3.938 kB / 0.6232 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/0.00479, allocations: 105.6 kB / 0.6233 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.005078, allocations: 332.7 kB / 0.6236 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.005206, allocations: 138.8 kB / 0.6238 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.005279, allocations: 103.5 kB / 0.6239 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.005292, allocations: 4 kB / 0.6239 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.005448, allocations: 212.5 kB / 0.6241 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.005449, allocations: 3.938 kB / 0.6241 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0003504/0.005799, allocations: 402.5 kB / 0.6244 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.005837, allocations: 110.8 kB / 0.6246 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.00596, allocations: 220.7 kB / 0.6248 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.005973, allocations: 25.7 kB / 0.6248 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.006018, allocations: 112.1 kB / 0.6249 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.006045, allocations: 35.69 kB / 0.6249 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.006082, allocations: 33.7 kB / 0.625 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.006153, allocations: 338.8 kB / 0.6253 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.006217, allocations: 89.67 kB / 0.6254 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.006285, allocations: 111.6 kB / 0.6255 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.006412, allocations: 200.9 kB / 0.6257 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006414, allocations: 0 / 0.6257 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002131/0.006627, allocations: 312.8 kB / 0.626 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.00665, allocations: 37.69 kB / 0.626 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.006653, allocations: 0 / 0.626 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.006661, allocations: 0 / 0.626 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.006726, allocations: 19.98 kB / 0.626 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.00673, allocations: 0 / 0.626 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.006781, allocations: 8 kB / 0.626 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.00679, allocations: 4 kB / 0.626 GB, free: 5.934 MB / 0.5886 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 8.786e-05/0.006878, allocations: 184.4 kB / 0.6262 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.006897, allocations: 27.78 kB / 0.6262 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.007022, allocations: 95.14 kB / 0.6263 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007024, allocations: 0 / 0.6263 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.007027, allocations: 0 / 0.6263 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.007031, allocations: 8.062 kB / 0.6263 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.131e-05/0.007123, allocations: 157.2 kB / 0.6265 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.007124, allocations: 4 kB / 0.6265 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.007149, allocations: 8 kB / 0.6265 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.007152, allocations: 11.88 kB / 0.6265 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.007163, allocations: 11.98 kB / 0.6265 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.007165, allocations: 3.938 kB / 0.6265 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007166, allocations: 96 / 0.6265 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.007414, allocations: 375.8 kB / 0.6269 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.007462, allocations: 31.88 kB / 0.6269 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.007482, allocations: 7.938 kB / 0.6269 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.007528, allocations: 4 kB / 0.6269 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.007562, allocations: 15.98 kB / 0.6269 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.007576, allocations: 11.98 kB / 0.627 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.74e-05/0.007653, allocations: 155.2 kB / 0.6271 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007653, allocations: 0 / 0.6271 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001514/0.007805, allocations: 51.86 kB / 0.6271 GB, free: 4.711 MB / 0.5886 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.0001159/0.007921, allocations: 127.2 kB / 0.6273 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.008132, allocations: 278.7 kB / 0.6275 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.008133, allocations: 0 / 0.6275 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.00823, allocations: 173.1 kB / 0.6277 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.008359, allocations: 9.719 kB / 0.6277 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.008747, allocations: 418.1 kB / 0.6281 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.516e-05/0.008812, allocations: 106.2 kB / 0.6282 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.008835, allocations: 16.5 kB / 0.6282 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of SimCode: time 3.7e-07/0.008835, allocations: 4 kB / 0.6282 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of Templates: time 0.002235/0.01107, allocations: 1.916 MB / 0.6301 GB, free: 1.59 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.762037760578096] Failed to read output from testmodel.py, exit status != 0: 0.014778840355575085 0.022506552000000003 0.017372911 Calling exit ...