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.0008685/0.0008685, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001483/0.001483, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.8922/0.8922, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.7451/0.7451, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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.533e-06/1.533e-06, allocations: 3.938 kB / 0.5215 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.351e-05, allocations: 5.484 kB / 0.5215 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001771/0.001785, allocations: 1.638 MB / 0.5231 GB, free: 340 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007528/0.002537, allocations: 0.653 MB / 0.5238 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.002589, allocations: 5.75 kB / 0.5238 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.002714, allocations: 71.83 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.0029, allocations: 106.5 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.003131, allocations: 107.6 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.003255, allocations: 124.3 kB / 0.5242 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.003314, allocations: 11.94 kB / 0.5242 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.003464, allocations: 96.5 kB / 0.5243 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.003579, allocations: 101.3 kB / 0.5244 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.003595, allocations: 8 kB / 0.5244 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.446e-05/0.003689, allocations: 87.8 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.00373, allocations: 37 kB / 0.5245 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.003766, allocations: 27.86 kB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.003927, allocations: 163.6 kB / 0.5247 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.003928, allocations: 3.625 kB / 0.5247 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003929, allocations: 0 / 0.5247 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.003931, allocations: 0 / 0.5247 GB, free: 14.75 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.000426/0.004357, allocations: 0.509 MB / 0.5252 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.479e-05/0.004382, allocations: 8.031 kB / 0.5252 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.004493, allocations: 24.84 kB / 0.5252 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.004618, allocations: 168 kB / 0.5254 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.004629, allocations: 8.375 kB / 0.5254 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.004639, allocations: 8.359 kB / 0.5254 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.004755, allocations: 120.5 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.004762, allocations: 0.75 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.004772, allocations: 8.375 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004777, allocations: 4.906 kB / 0.5255 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.803e-05/0.004825, allocations: 57.61 kB / 0.5256 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.005068, allocations: 412.8 kB / 0.5259 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/0.005155, allocations: 99.8 kB / 0.526 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.005197, allocations: 69.77 kB / 0.5261 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.005208, allocations: 4 kB / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.005336, allocations: 185.6 kB / 0.5263 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 8.61e-07/0.005337, allocations: 0 / 0.5263 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0002441/0.005581, allocations: 242.6 kB / 0.5265 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.005619, allocations: 110.8 kB / 0.5266 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.005734, allocations: 255 kB / 0.5269 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.005747, allocations: 28.45 kB / 0.5269 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.005802, allocations: 166.8 kB / 0.5271 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.005831, allocations: 39.69 kB / 0.5271 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.005868, allocations: 31.36 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.005978, allocations: 0.504 MB / 0.5276 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.305e-05/0.006011, allocations: 49.62 kB / 0.5277 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.006175, allocations: 69.03 kB / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.006254, allocations: 132.4 kB / 0.5279 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.006256, allocations: 0 / 0.5279 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001476/0.006403, allocations: 196.8 kB / 0.528 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.006427, allocations: 37.64 kB / 0.5281 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006431, allocations: 4.938 kB / 0.5281 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.006438, allocations: 0 / 0.5281 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.006496, allocations: 15.98 kB / 0.5281 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.006498, allocations: 0.875 kB / 0.5281 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.006549, allocations: 11.89 kB / 0.5281 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.00656, allocations: 8.656 kB / 0.5281 GB, free: 10.86 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 8.222e-05/0.006642, allocations: 202.3 kB / 0.5283 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.006667, allocations: 30.75 kB / 0.5283 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.006775, allocations: 83.58 kB / 0.5284 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.006779, allocations: 8 kB / 0.5284 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.00678, allocations: 0 / 0.5284 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006783, allocations: 0 / 0.5284 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.824e-05/0.006882, allocations: 149.2 kB / 0.5286 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.006882, allocations: 0 / 0.5286 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.00693, allocations: 15.06 kB / 0.5286 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.006931, allocations: 0 / 0.5286 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.006941, allocations: 7.984 kB / 0.5286 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.006943, allocations: 3.938 kB / 0.5286 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006944, allocations: 0 / 0.5286 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.007139, allocations: 279.5 kB / 0.5289 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.007178, allocations: 27.83 kB / 0.5289 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.007196, allocations: 4 kB / 0.5289 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.007239, allocations: 7.938 kB / 0.5289 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.007269, allocations: 13.8 kB / 0.5289 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.007282, allocations: 15.92 kB / 0.5289 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.698e-05/0.007349, allocations: 181.4 kB / 0.5291 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007349, allocations: 0 / 0.5291 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001517/0.007501, allocations: 36 kB / 0.5291 GB, free: 9.738 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.000113/0.007614, allocations: 136 kB / 0.5293 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.007765, allocations: 198.4 kB / 0.5295 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.007766, allocations: 0 / 0.5295 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.96e-05/0.007835, allocations: 136.7 kB / 0.5296 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.007975, allocations: 19.05 kB / 0.5296 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.008443, allocations: 343.7 kB / 0.5299 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.008479, allocations: 75.33 kB / 0.53 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.008506, allocations: 11.58 kB / 0.53 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.008584, allocations: 94.19 kB / 0.5301 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of SimCode: time 6.32e-07/0.008584, allocations: 2.719 kB / 0.5301 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of Templates: time 0.003102/0.01169, allocations: 1.87 MB / 0.5319 GB, free: 6.875 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.3756355699151754]