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.001471/0.001471, allocations: 84.28 kB / 19.18 MB, free: 2.523 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.001534/0.001534, allocations: 170.5 kB / 22.46 MB, free: 5.359 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.205/1.205, allocations: 154.6 MB / 413.7 MB, free: 5.312 MB / 382.1 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 178] 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 2.725e-06/2.725e-06, allocations: 0 / 0.6185 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.993e-05/4.265e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003365/0.003407, allocations: 1.617 MB / 0.6201 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.004775, allocations: 0.6374 MB / 0.6207 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.004849, allocations: 4 kB / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.005047, allocations: 75.75 kB / 0.6208 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.005369, allocations: 108.1 kB / 0.6209 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.005784, allocations: 102.5 kB / 0.621 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.006015, allocations: 131.6 kB / 0.6211 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.006125, allocations: 15.98 kB / 0.6211 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.006389, allocations: 91.72 kB / 0.6212 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.006597, allocations: 107.8 kB / 0.6213 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.006628, allocations: 8 kB / 0.6213 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.006795, allocations: 87.91 kB / 0.6214 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.006871, allocations: 27.92 kB / 0.6214 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.285e-05/0.006944, allocations: 27.86 kB / 0.6215 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.007279, allocations: 195.4 kB / 0.6216 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.007282, allocations: 3.938 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.51e-07/0.007283, allocations: 0 / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.007289, allocations: 0 / 0.6216 GB, free: 1.469 MB / 0.5294 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.000958/0.008247, allocations: 407.1 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.008294, allocations: 21.41 kB / 0.6221 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.008504, allocations: 24.83 kB / 0.6221 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.008812, allocations: 162 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.008831, allocations: 4.375 kB / 0.6222 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.00885, allocations: 4.375 kB / 0.6222 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.009135, allocations: 149.6 kB / 0.6224 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.009146, allocations: 192 / 0.6224 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.009162, allocations: 384 / 0.6224 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.009171, allocations: 7.938 kB / 0.6224 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.00935, allocations: 101.6 kB / 0.6225 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.009902, allocations: 336.7 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.01017, allocations: 142.8 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.01033, allocations: 99.59 kB / 0.623 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.01036, allocations: 3.984 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.01073, allocations: 220.3 kB / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.01073, allocations: 0 / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007384/0.01147, allocations: 410.4 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.01158, allocations: 106.8 kB / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.01187, allocations: 219.9 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.01192, allocations: 33.7 kB / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.01202, allocations: 116.1 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.01208, allocations: 35.72 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.01215, allocations: 29.7 kB / 0.6242 GB, free: 14.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.01238, allocations: 326.8 kB / 0.6245 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.01252, allocations: 89.67 kB / 0.6246 GB, free: 14.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.01268, allocations: 111.4 kB / 0.6247 GB, free: 14.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.01295, allocations: 197 kB / 0.6249 GB, free: 13.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01295, allocations: 4.094 kB / 0.6249 GB, free: 13.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004531/0.01341, allocations: 316.7 kB / 0.6252 GB, free: 13.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/0.01346, allocations: 41.69 kB / 0.6252 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.01347, allocations: 320 / 0.6252 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.01349, allocations: 0 / 0.6252 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.01361, allocations: 19.98 kB / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.01362, allocations: 0 / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.01373, allocations: 15.94 kB / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.01375, allocations: 4 kB / 0.6252 GB, free: 13.45 MB / 0.545 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.0002203/0.01397, allocations: 176.4 kB / 0.6254 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.01401, allocations: 23.84 kB / 0.6254 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.01427, allocations: 103.1 kB / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01427, allocations: 0 / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.01428, allocations: 4 kB / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01429, allocations: 0 / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.0145, allocations: 161.3 kB / 0.6257 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.0145, allocations: 0 / 0.6257 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/0.01456, allocations: 8 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.01456, allocations: 3.938 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.01459, allocations: 7.984 kB / 0.6257 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.01459, allocations: 3.938 kB / 0.6257 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01459, allocations: 4 kB / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.01511, allocations: 365.2 kB / 0.6261 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.01518, allocations: 39.72 kB / 0.6261 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.01523, allocations: 8.031 kB / 0.6261 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.01532, allocations: 11.98 kB / 0.6261 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.01539, allocations: 15.97 kB / 0.6261 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.01541, allocations: 4 kB / 0.6261 GB, free: 12.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001709/0.01558, allocations: 160.5 kB / 0.6263 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01558, allocations: 3.938 kB / 0.6263 GB, free: 12.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002792/0.01586, allocations: 43.94 kB / 0.6263 GB, free: 12.24 MB / 0.545 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.0002668/0.01613, allocations: 131.2 kB / 0.6265 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004642/0.01659, allocations: 278.7 kB / 0.6267 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0166, allocations: 0 / 0.6267 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.01681, allocations: 165.1 kB / 0.6269 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01707, allocations: 18.44 kB / 0.6269 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/0.01787, allocations: 396.3 kB / 0.6273 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.01802, allocations: 106.3 kB / 0.6274 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.144e-05/0.01806, allocations: 11.94 kB / 0.6274 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.01809, allocations: 12.5 kB / 0.6274 GB, free: 11.04 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01809, allocations: 0 / 0.6274 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Templates: time 0.005795/0.02389, allocations: 1.691 MB / 0.6291 GB, free: 9.414 MB / 0.545 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: 5.950022771954536] Failed to read output from testmodel.py, exit status != 0: 0.03363917022943497 0.047451742000000005 0.03717675 Calling exit ...