Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007245/0.0007245, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007449/0.0007449, allocations: 177.9 kB / 23.21 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.7927/0.7927, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6536/0.6536, allocations: 154.5 MB / 414.5 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.717e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001712/0.001729, allocations: 1.607 MB / 0.6208 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007546/0.002484, allocations: 0.6387 MB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.002539, allocations: 0 / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.002678, allocations: 83.7 kB / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.002894, allocations: 99.61 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.003159, allocations: 107.1 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.003298, allocations: 127.7 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.434e-05/0.003372, allocations: 12 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.003543, allocations: 95.75 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.00367, allocations: 99.88 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.003689, allocations: 8 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.003791, allocations: 95.73 kB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.003843, allocations: 31.91 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.003887, allocations: 27.86 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.004092, allocations: 191.4 kB / 0.6224 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004095, allocations: 0 / 0.6224 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004096, allocations: 0 / 0.6224 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.0041, allocations: 4 kB / 0.6224 GB, free: 9.965 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.0005149/0.004615, allocations: 415 kB / 0.6228 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.004646, allocations: 13.47 kB / 0.6228 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.004753, allocations: 20.84 kB / 0.6228 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.004921, allocations: 162.1 kB / 0.623 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.004934, allocations: 384 / 0.623 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.004946, allocations: 8.359 kB / 0.623 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.005125, allocations: 165.5 kB / 0.6231 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.005133, allocations: 4.188 kB / 0.6231 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.005143, allocations: 384 / 0.6231 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005149, allocations: 7.938 kB / 0.6232 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.005244, allocations: 97.66 kB / 0.6232 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.005526, allocations: 332.6 kB / 0.6236 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.005652, allocations: 138.8 kB / 0.6237 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.005862, allocations: 103.5 kB / 0.6238 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.005879, allocations: 0 / 0.6238 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.006058, allocations: 212.5 kB / 0.624 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 9.11e-07/0.006059, allocations: 4 kB / 0.624 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0003752/0.006434, allocations: 402.5 kB / 0.6244 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.006478, allocations: 110.8 kB / 0.6245 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.006604, allocations: 216.1 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.006619, allocations: 33.7 kB / 0.6247 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.006666, allocations: 108.1 kB / 0.6248 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.006695, allocations: 39.69 kB / 0.6249 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.00673, allocations: 21.72 kB / 0.6249 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.006805, allocations: 338.8 kB / 0.6252 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.006869, allocations: 93.61 kB / 0.6253 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.006945, allocations: 114.3 kB / 0.6254 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.007076, allocations: 209 kB / 0.6256 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007078, allocations: 0 / 0.6256 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002097/0.007288, allocations: 316.8 kB / 0.6259 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.007312, allocations: 33.7 kB / 0.6259 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007316, allocations: 0 / 0.6259 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.007327, allocations: 0 / 0.6259 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.007394, allocations: 19.92 kB / 0.626 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.007399, allocations: 0 / 0.626 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.007456, allocations: 15.98 kB / 0.626 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.007467, allocations: 4 kB / 0.626 GB, free: 5.953 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 9.307e-05/0.00756, allocations: 180 kB / 0.6262 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.007579, allocations: 27.8 kB / 0.6262 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.007716, allocations: 103.1 kB / 0.6263 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.007718, allocations: 0 / 0.6263 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.007722, allocations: 4 kB / 0.6263 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.007725, allocations: 0 / 0.6263 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.685e-05/0.007822, allocations: 161.2 kB / 0.6264 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007823, allocations: 0 / 0.6264 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.007857, allocations: 8 kB / 0.6264 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.007862, allocations: 11.92 kB / 0.6265 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.007872, allocations: 4 kB / 0.6265 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.007873, allocations: 0 / 0.6265 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007874, allocations: 0 / 0.6265 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.008128, allocations: 373.2 kB / 0.6268 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.00817, allocations: 27.88 kB / 0.6268 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.008193, allocations: 15.94 kB / 0.6269 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.66e-05/0.008239, allocations: 8 kB / 0.6269 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.008281, allocations: 11.98 kB / 0.6269 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.008294, allocations: 11.92 kB / 0.6269 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.077e-05/0.008375, allocations: 164.5 kB / 0.627 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008375, allocations: 0 / 0.627 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001574/0.008533, allocations: 43.94 kB / 0.6271 GB, free: 4.738 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.0001276/0.00866, allocations: 129.5 kB / 0.6272 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.008885, allocations: 282.7 kB / 0.6275 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008886, allocations: 0 / 0.6275 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.008981, allocations: 169 kB / 0.6276 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.009126, allocations: 16 kB / 0.6277 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.009534, allocations: 402.3 kB / 0.628 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.678e-05/0.009601, allocations: 114.2 kB / 0.6282 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.009625, allocations: 12.5 kB / 0.6282 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of SimCode: time 3.5e-07/0.009625, allocations: 0 / 0.6282 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of Templates: time 0.002361/0.01199, allocations: 1.936 MB / 0.6301 GB, free: 1.602 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.949406465515494] Failed to read output from testmodel.py, exit status != 0: 0.01617110427469015 0.023174528 0.017656815000000003 Calling exit ...