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.001817/0.001817, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.00193/0.00193, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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-535:34: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-535:42: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.328/1.328, allocations: 154.8 MB / 414.4 MB, free: 456 kB / 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 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 1.493e-06/1.493e-06, allocations: 0 / 0.5198 GB, free: 2.309 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.09e-05, allocations: 8 kB / 0.5198 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00315/0.003181, allocations: 1.634 MB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.004563, allocations: 0.6465 MB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.004622, allocations: 0.875 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.004844, allocations: 81.36 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.005157, allocations: 113.1 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.005537, allocations: 100.7 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.005745, allocations: 133.6 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.005841, allocations: 7.859 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.006093, allocations: 87.84 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.006375, allocations: 107.8 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.006404, allocations: 8.75 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.006569, allocations: 83.88 kB / 0.5228 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.006643, allocations: 40.55 kB / 0.5228 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.006711, allocations: 27.92 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.007035, allocations: 191.9 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.007039, allocations: 4 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.173e-06/0.00704, allocations: 0.7188 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.007046, allocations: 0 / 0.523 GB, free: 15.06 MB / 0.4948 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.0007999/0.007845, allocations: 0.5063 MB / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.007883, allocations: 8.031 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.00809, allocations: 37.55 kB / 0.5236 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.008337, allocations: 160 kB / 0.5237 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.008353, allocations: 5.156 kB / 0.5237 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.008368, allocations: 4.375 kB / 0.5237 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.008598, allocations: 126.4 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.00861, allocations: 4.172 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.008623, allocations: 384 / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.008629, allocations: 7.938 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.008774, allocations: 73.56 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.009324, allocations: 462.6 kB / 0.5244 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.009534, allocations: 127.8 kB / 0.5245 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.009659, allocations: 81.66 kB / 0.5246 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.009682, allocations: 1 kB / 0.5246 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002875/0.00997, allocations: 195.6 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.009972, allocations: 0.5938 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0005468/0.01052, allocations: 286.7 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/0.01061, allocations: 111.8 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.0109, allocations: 276 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.01092, allocations: 25.7 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.01105, allocations: 171.8 kB / 0.5256 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.0111, allocations: 39.69 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.01118, allocations: 36.09 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002774/0.01145, allocations: 0.5079 MB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.01156, allocations: 66.72 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.01168, allocations: 82.89 kB / 0.5263 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.01187, allocations: 154.7 kB / 0.5264 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01188, allocations: 1.219 kB / 0.5264 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000332/0.01221, allocations: 217.1 kB / 0.5266 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.01225, allocations: 37.69 kB / 0.5267 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01226, allocations: 4.688 kB / 0.5267 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01228, allocations: 5.625 kB / 0.5267 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.01238, allocations: 12 kB / 0.5267 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01239, allocations: 4 kB / 0.5267 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.01248, allocations: 7.984 kB / 0.5267 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.0125, allocations: 4 kB / 0.5267 GB, free: 10.91 MB / 0.4948 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.0001746/0.01267, allocations: 210.8 kB / 0.5269 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.01272, allocations: 27.8 kB / 0.5269 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.01295, allocations: 107.9 kB / 0.527 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01295, allocations: 3.344 kB / 0.5271 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01296, allocations: 4 kB / 0.5271 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01296, allocations: 0 / 0.5271 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.01318, allocations: 184.6 kB / 0.5272 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01319, allocations: 4 kB / 0.5272 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.01325, allocations: 15.92 kB / 0.5273 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01325, allocations: 3.938 kB / 0.5273 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.01327, allocations: 8 kB / 0.5273 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01327, allocations: 0 / 0.5273 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01327, allocations: 3.062 kB / 0.5273 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.01373, allocations: 307.1 kB / 0.5276 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.01381, allocations: 27.88 kB / 0.5276 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.01385, allocations: 11.94 kB / 0.5276 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.01393, allocations: 4 kB / 0.5276 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.01399, allocations: 11.92 kB / 0.5276 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.01402, allocations: 12 kB / 0.5276 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001602/0.01418, allocations: 184.8 kB / 0.5278 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01418, allocations: 1.781 kB / 0.5278 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002622/0.01444, allocations: 47.94 kB / 0.5278 GB, free: 9.676 MB / 0.4948 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.00022/0.01466, allocations: 133.2 kB / 0.528 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.01502, allocations: 239.9 kB / 0.5282 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01503, allocations: 0 / 0.5282 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.01521, allocations: 163.7 kB / 0.5284 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.01544, allocations: 14.75 kB / 0.5284 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.01608, allocations: 336.4 kB / 0.5287 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.0162, allocations: 112.4 kB / 0.5288 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.906e-05/0.01624, allocations: 4 kB / 0.5288 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.01628, allocations: 16.48 kB / 0.5288 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01628, allocations: 3.938 kB / 0.5288 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of Templates: time 0.00576/0.02204, allocations: 1.702 MB / 0.5305 GB, free: 6.973 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.282775435014628]