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.001343/0.001343, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001566/0.001566, allocations: 168.5 kB / 22.46 MB, free: 5.355 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.389/1.389, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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-531:686: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-531:694: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 1.146/1.146, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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 178] 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 2.154e-06/2.154e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.566e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003749/0.003785, allocations: 1.602 MB / 0.6201 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.005401, allocations: 0.6497 MB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.005513, allocations: 0 / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.005748, allocations: 77.23 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.006151, allocations: 112.6 kB / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.00667, allocations: 99.47 kB / 0.621 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.006961, allocations: 143.6 kB / 0.6212 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.007068, allocations: 8 kB / 0.6212 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.007422, allocations: 87.78 kB / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.007675, allocations: 107.8 kB / 0.6214 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.007706, allocations: 4 kB / 0.6214 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.007904, allocations: 87.92 kB / 0.6215 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.00799, allocations: 35.84 kB / 0.6215 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.00808, allocations: 31.86 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.008496, allocations: 195.4 kB / 0.6217 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.0085, allocations: 0 / 0.6217 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.008501, allocations: 0 / 0.6217 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.00851, allocations: 0 / 0.6217 GB, free: 1.348 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.0008996/0.009409, allocations: 411 kB / 0.6221 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.009453, allocations: 8.031 kB / 0.6221 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.009659, allocations: 24.84 kB / 0.6221 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.00999, allocations: 166 kB / 0.6223 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.01001, allocations: 384 / 0.6223 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.01002, allocations: 4.375 kB / 0.6223 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.01033, allocations: 157.6 kB / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.01034, allocations: 192 / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.01036, allocations: 4.359 kB / 0.6225 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.01037, allocations: 3.938 kB / 0.6225 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.01054, allocations: 101.6 kB / 0.6226 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.01104, allocations: 340.6 kB / 0.6229 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.01132, allocations: 142.8 kB / 0.623 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.01147, allocations: 103.5 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.01149, allocations: 0 / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003241/0.01182, allocations: 208.4 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.01182, allocations: 3.938 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0006858/0.0125, allocations: 398.6 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/0.0126, allocations: 110.8 kB / 0.6238 GB, free: 14.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.01288, allocations: 223.9 kB / 0.624 GB, free: 14.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.0129, allocations: 25.7 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01301, allocations: 120.3 kB / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.01306, allocations: 31.73 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.01313, allocations: 29.7 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.01331, allocations: 330.8 kB / 0.6245 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.01345, allocations: 89.67 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.0136, allocations: 111.4 kB / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.01386, allocations: 201.1 kB / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01386, allocations: 0 / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004391/0.0143, allocations: 317.1 kB / 0.6252 GB, free: 13.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.01436, allocations: 37.69 kB / 0.6253 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01437, allocations: 0 / 0.6253 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.01438, allocations: 4 kB / 0.6253 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.0145, allocations: 19.98 kB / 0.6253 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.0145, allocations: 0 / 0.6253 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.01462, allocations: 11.94 kB / 0.6253 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.01464, allocations: 4 kB / 0.6253 GB, free: 13.35 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.0001996/0.01484, allocations: 176.5 kB / 0.6255 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.01488, allocations: 19.84 kB / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.01512, allocations: 111.1 kB / 0.6256 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01512, allocations: 7.938 kB / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01513, allocations: 0 / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01513, allocations: 0 / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.01534, allocations: 165.2 kB / 0.6257 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01534, allocations: 0 / 0.6257 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.0154, allocations: 8 kB / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.0154, allocations: 7.938 kB / 0.6258 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.01542, allocations: 7.984 kB / 0.6258 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01543, allocations: 0 / 0.6258 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01543, allocations: 0 / 0.6258 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.01596, allocations: 365.2 kB / 0.6261 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.01604, allocations: 35.78 kB / 0.6262 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.01608, allocations: 15.92 kB / 0.6262 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.01618, allocations: 4 kB / 0.6262 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.01624, allocations: 11.98 kB / 0.6262 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.01627, allocations: 8 kB / 0.6262 GB, free: 12.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00018/0.01645, allocations: 160.5 kB / 0.6263 GB, free: 12.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01645, allocations: 0 / 0.6263 GB, free: 12.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002878/0.01673, allocations: 40.03 kB / 0.6264 GB, free: 12.14 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.0002656/0.017, allocations: 141.1 kB / 0.6265 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.01745, allocations: 286.7 kB / 0.6268 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01745, allocations: 0 / 0.6268 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.01767, allocations: 169 kB / 0.627 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.0179, allocations: 12 kB / 0.627 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.01866, allocations: 380.5 kB / 0.6273 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.01879, allocations: 119.1 kB / 0.6274 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.01883, allocations: 7.984 kB / 0.6274 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.01887, allocations: 12.5 kB / 0.6275 GB, free: 10.94 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.01887, allocations: 0 / 0.6275 GB, free: 10.94 MB / 0.545 GB Notification: Performance of Templates: time 0.006011/0.02488, allocations: 1.686 MB / 0.6291 GB, free: 9.305 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.697766270488501] Failed to read output from testmodel.py, exit status != 0: 0.03500530123710632 0.051079387000000004 0.039249518000000004 Calling exit ...