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.001002/0.001002, allocations: 92.22 kB / 19.65 MB, free: 276 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.001169/0.001169, allocations: 173 kB / 23.02 MB, free: 1.547 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.9211/0.9211, allocations: 177.1 MB / 203.4 MB, free: 5.633 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-545:108: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-545:116: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.7664/0.7664, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.583e-06/1.583e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.305e-05, allocations: 4 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002038/0.002061, allocations: 1.651 MB / 0.5219 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008489/0.00291, allocations: 0.6605 MB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.002971, allocations: 0.5625 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.00312, allocations: 72.7 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.003362, allocations: 106.3 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.003677, allocations: 104.2 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.00383, allocations: 132.6 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.661e-05/0.003907, allocations: 11.92 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.00412, allocations: 88.66 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.004252, allocations: 107.8 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.004273, allocations: 8.625 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.004395, allocations: 81.05 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.00445, allocations: 39.84 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.004497, allocations: 23.92 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.0047, allocations: 172.2 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004702, allocations: 0 / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004703, allocations: 1.625 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.004707, allocations: 0 / 0.5235 GB, free: 14.96 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.0005212/0.005228, allocations: 0.5013 MB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.005262, allocations: 8.031 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.005402, allocations: 34.42 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.005563, allocations: 169.2 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.005576, allocations: 8.375 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.005588, allocations: 5.125 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.005742, allocations: 131.9 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.005749, allocations: 1.375 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.00576, allocations: 384 / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.005768, allocations: 7.938 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.486e-05/0.005833, allocations: 61.67 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.006159, allocations: 443.8 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.006275, allocations: 111.8 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.006329, allocations: 75.34 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.006345, allocations: 4 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.006503, allocations: 179.7 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.006504, allocations: 0 / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0002993/0.006803, allocations: 254.6 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.006844, allocations: 112.5 kB / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.006989, allocations: 259.2 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.007003, allocations: 29.7 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.007065, allocations: 163 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.007108, allocations: 40.23 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.007153, allocations: 35.38 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.007269, allocations: 0.5049 MB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.007314, allocations: 53.62 kB / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.105e-05/0.007365, allocations: 76.05 kB / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/0.007461, allocations: 122.8 kB / 0.5267 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007463, allocations: 0 / 0.5267 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001687/0.007632, allocations: 209.3 kB / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.007661, allocations: 44.5 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007665, allocations: 0 / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.007677, allocations: 0 / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.007749, allocations: 15.94 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.007754, allocations: 240 / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.007806, allocations: 16.19 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.007819, allocations: 11.98 kB / 0.527 GB, free: 10.96 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 9.368e-05/0.007913, allocations: 204.5 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.007942, allocations: 23.84 kB / 0.5272 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.008086, allocations: 99.14 kB / 0.5273 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008088, allocations: 0 / 0.5273 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.008092, allocations: 4 kB / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008095, allocations: 0 / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.008218, allocations: 180.5 kB / 0.5275 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008219, allocations: 1.5 kB / 0.5275 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.008254, allocations: 11.98 kB / 0.5275 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.008258, allocations: 3.938 kB / 0.5275 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.008269, allocations: 4 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.008272, allocations: 4.5 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008273, allocations: 0.8125 kB / 0.5275 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.008496, allocations: 290.3 kB / 0.5278 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.008538, allocations: 30.95 kB / 0.5278 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.008564, allocations: 11.92 kB / 0.5279 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.348e-05/0.008607, allocations: 4 kB / 0.5279 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.008652, allocations: 11.98 kB / 0.5279 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.008666, allocations: 4 kB / 0.5279 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.934e-05/0.008745, allocations: 180.4 kB / 0.528 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.008745, allocations: 0 / 0.528 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001722/0.008918, allocations: 40 kB / 0.5281 GB, free: 9.797 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.0002137/0.009131, allocations: 135.3 kB / 0.5282 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.009322, allocations: 206.4 kB / 0.5284 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009323, allocations: 0 / 0.5284 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.009407, allocations: 144.7 kB / 0.5285 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.009566, allocations: 14.73 kB / 0.5286 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.01018, allocations: 351 kB / 0.5289 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.01022, allocations: 75.33 kB / 0.529 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.01025, allocations: 10.03 kB / 0.529 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.01028, allocations: 12.5 kB / 0.529 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.01028, allocations: 0 / 0.529 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of Templates: time 0.003664/0.01395, allocations: 1.802 MB / 0.5307 GB, free: 7.07 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5266797756776214]