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.001348/0.001348, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001644/0.001644, allocations: 173 kB / 23.36 MB, free: 1.133 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.9137/0.9137, allocations: 177.1 MB / 203.8 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.7465/0.7465, allocations: 154.6 MB / 414.8 MB, free: 500 kB / 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 9.21e-07/9.21e-07, allocations: 0 / 480 MB, free: 6.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.266e-06/9.187e-06, allocations: 8.562 kB / 480 MB, free: 6.965 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001696/0.001705, allocations: 1.652 MB / 481.6 MB, free: 5.332 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.002464, allocations: 0.6668 MB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.002507, allocations: 5.906 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.002614, allocations: 71.81 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.002792, allocations: 107.3 kB / 482.5 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.003015, allocations: 102.1 kB / 482.6 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.003144, allocations: 130.8 kB / 482.7 MB, free: 4.281 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.003192, allocations: 16.55 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.003335, allocations: 92.48 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.003443, allocations: 91.39 kB / 482.9 MB, free: 4.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.003458, allocations: 4 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.003554, allocations: 83.92 kB / 483 MB, free: 4.004 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.003594, allocations: 31.84 kB / 483 MB, free: 3.973 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.00363, allocations: 35.86 kB / 483.1 MB, free: 3.938 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.00379, allocations: 163.5 kB / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.003791, allocations: 0 / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003792, allocations: 0.9688 kB / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.184e-06/0.003794, allocations: 0 / 483.2 MB, free: 3.777 MB / 442.7 MB 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.0003611/0.004155, allocations: 393.2 kB / 483.6 MB, free: 3.367 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.004182, allocations: 12.03 kB / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.00428, allocations: 18.02 kB / 483.6 MB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.004404, allocations: 150.1 kB / 483.8 MB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.004414, allocations: 9 kB / 483.8 MB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.004424, allocations: 4.375 kB / 483.8 MB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.004539, allocations: 125.7 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.004545, allocations: 0.8125 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.004554, allocations: 5.5 kB / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.004559, allocations: 8.562 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.004607, allocations: 57.12 kB / 484 MB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.004794, allocations: 255.1 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.829e-05/0.004882, allocations: 135.4 kB / 484.4 MB, free: 2.512 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.004922, allocations: 64.84 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.004933, allocations: 0 / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.005058, allocations: 161.2 kB / 484.6 MB, free: 2.254 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 8.11e-07/0.005059, allocations: 0 / 484.6 MB, free: 2.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001691/0.005228, allocations: 205.5 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.005265, allocations: 110.8 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.005592, allocations: 177.7 kB / 485.1 MB, free: 1.711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.005605, allocations: 26.52 kB / 485.1 MB, free: 1.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.005636, allocations: 104.1 kB / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.005662, allocations: 32.67 kB / 485.2 MB, free: 1.543 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.005699, allocations: 37.69 kB / 485.3 MB, free: 1.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.005769, allocations: 330.8 kB / 485.6 MB, free: 1.168 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.0058, allocations: 49.09 kB / 485.6 MB, free: 1.113 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.005836, allocations: 60.64 kB / 485.7 MB, free: 1.043 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.266e-05/0.005908, allocations: 119.8 kB / 485.8 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.00591, allocations: 3.938 kB / 485.8 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001049/0.006015, allocations: 148.4 kB / 486 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.006038, allocations: 45.62 kB / 486 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.006041, allocations: 1.219 kB / 486 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.006048, allocations: 0 / 486 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.006104, allocations: 19.92 kB / 486 MB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.006106, allocations: 1.094 kB / 486 MB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.006153, allocations: 11.89 kB / 486 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.006162, allocations: 8 kB / 486 MB, free: 0.6484 MB / 442.7 MB 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 7.272e-05/0.006234, allocations: 156.3 kB / 486.2 MB, free: 492 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.006253, allocations: 15.98 kB / 486.2 MB, free: 476 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-05/0.006343, allocations: 75.31 kB / 486.3 MB, free: 392 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.006345, allocations: 4.594 kB / 486.3 MB, free: 388 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.006348, allocations: 4.062 kB / 486.3 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.006351, allocations: 0.5938 kB / 486.3 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.139e-05/0.006432, allocations: 107.2 kB / 486.4 MB, free: 260 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006433, allocations: 0 / 486.4 MB, free: 260 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.006457, allocations: 8 kB / 486.4 MB, free: 252 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.006459, allocations: 4 kB / 486.4 MB, free: 248 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.006467, allocations: 0.875 kB / 486.4 MB, free: 248 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006469, allocations: 3.984 kB / 486.4 MB, free: 244 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.006471, allocations: 9.344 kB / 486.4 MB, free: 236 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.006595, allocations: 198.9 kB / 486.6 MB, free: 0 / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.006645, allocations: 27.97 kB / 486.7 MB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.006664, allocations: 4 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.006704, allocations: 8.5 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.006733, allocations: 14.48 kB / 486.7 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.006745, allocations: 11.97 kB / 486.7 MB, free: 15.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.006783, allocations: 55.62 kB / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006783, allocations: 0 / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.006923, allocations: 44 kB / 486.8 MB, free: 15.84 MB / 458.7 MB 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.0001105/0.007033, allocations: 127.3 kB / 486.9 MB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.007173, allocations: 191.7 kB / 487.1 MB, free: 15.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.007175, allocations: 0 / 487.1 MB, free: 15.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.619e-05/0.007241, allocations: 129.9 kB / 487.2 MB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.448e-05/0.007325, allocations: 12.72 kB / 487.2 MB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.007803, allocations: 345.9 kB / 487.6 MB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.007839, allocations: 75.33 kB / 487.6 MB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.7e-05/0.007866, allocations: 6.031 kB / 487.7 MB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.007945, allocations: 75.36 kB / 487.7 MB, free: 14.8 MB / 458.7 MB Notification: Performance of SimCode: time 3.21e-07/0.007945, allocations: 0 / 487.7 MB, free: 14.8 MB / 458.7 MB Notification: Performance of Templates: time 0.00315/0.0111, allocations: 1.816 MB / 489.5 MB, free: 13.13 MB / 458.7 MB " [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.3717355369590223]