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.0007654/0.0007654, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008093/0.0008093, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8431/0.8431, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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-531:190: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-531:198: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 0.6871/0.6871, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 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 179] 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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.647e-05, allocations: 2.281 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001863/0.00188, allocations: 1.619 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000791/0.002671, allocations: 0.6348 MB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.002732, allocations: 0 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.002864, allocations: 79.77 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.003087, allocations: 103.6 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.00338, allocations: 107.5 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.003527, allocations: 135.6 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.504e-05/0.003602, allocations: 8 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.003783, allocations: 95.77 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.003914, allocations: 103.9 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.003933, allocations: 8 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.004277, allocations: 83.88 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.00433, allocations: 31.91 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.004376, allocations: 27.86 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.004577, allocations: 195.4 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004579, allocations: 4 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.82e-07/0.00458, allocations: 0 / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.004584, allocations: 0 / 0.6212 GB, free: 10.48 MB / 0.5886 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.0004987/0.005083, allocations: 411 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.005116, allocations: 13.47 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.005144, allocations: 38.73 kB / 0.6216 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.005249, allocations: 20.84 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.005423, allocations: 154.1 kB / 0.6218 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.005436, allocations: 8.375 kB / 0.6218 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.005448, allocations: 8.375 kB / 0.6218 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.005625, allocations: 157.5 kB / 0.622 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005632, allocations: 4.188 kB / 0.622 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.005643, allocations: 4.125 kB / 0.622 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.005647, allocations: 0 / 0.622 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.005743, allocations: 101.7 kB / 0.6221 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.006055, allocations: 364 kB / 0.6224 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.006184, allocations: 138.8 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.006257, allocations: 99.48 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.006274, allocations: 11.88 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.006462, allocations: 208.4 kB / 0.6228 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.006463, allocations: 0 / 0.6228 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0003843/0.006847, allocations: 406.7 kB / 0.6232 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.006889, allocations: 102.8 kB / 0.6233 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.007024, allocations: 216.1 kB / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.007038, allocations: 33.7 kB / 0.6236 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.007086, allocations: 112.1 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.007116, allocations: 35.69 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.007158, allocations: 37.64 kB / 0.6237 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.007232, allocations: 322.8 kB / 0.624 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.007303, allocations: 97.67 kB / 0.6241 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.007374, allocations: 111.3 kB / 0.6242 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.007513, allocations: 197.2 kB / 0.6244 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.007517, allocations: 11.94 kB / 0.6244 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002213/0.007739, allocations: 304.9 kB / 0.6247 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.007768, allocations: 37.69 kB / 0.6248 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007772, allocations: 0 / 0.6248 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.007783, allocations: 0 / 0.6248 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.956e-05/0.007852, allocations: 15.94 kB / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.007857, allocations: 0 / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.007918, allocations: 19.98 kB / 0.6248 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.007928, allocations: 4 kB / 0.6248 GB, free: 6.402 MB / 0.5886 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.913e-05/0.008027, allocations: 187.6 kB / 0.625 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.008047, allocations: 23.95 kB / 0.625 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.008191, allocations: 107.1 kB / 0.6251 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008193, allocations: 0 / 0.6251 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.008197, allocations: 4 kB / 0.6251 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.008201, allocations: 0 / 0.6251 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.008318, allocations: 184.6 kB / 0.6253 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.00832, allocations: 4 kB / 0.6253 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.008351, allocations: 16 kB / 0.6253 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.008353, allocations: 0 / 0.6253 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.008365, allocations: 7.984 kB / 0.6253 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008366, allocations: 0 / 0.6253 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008367, allocations: 0 / 0.6253 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.00864, allocations: 377 kB / 0.6257 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.008686, allocations: 27.88 kB / 0.6257 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.008706, allocations: 4 kB / 0.6257 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.008758, allocations: 11.94 kB / 0.6257 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.008798, allocations: 11.98 kB / 0.6257 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.008816, allocations: 16.11 kB / 0.6258 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.242e-05/0.008898, allocations: 152.5 kB / 0.6259 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008898, allocations: 0 / 0.6259 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001767/0.009075, allocations: 47.92 kB / 0.6259 GB, free: 5.148 MB / 0.5886 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.0005013/0.009576, allocations: 0.9321 MB / 0.6269 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.009813, allocations: 282.7 kB / 0.6271 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.009814, allocations: 0 / 0.6271 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.009917, allocations: 165.1 kB / 0.6273 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.01008, allocations: 23.38 kB / 0.6273 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.01196, allocations: 2.416 MB / 0.6297 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.494e-05/0.01204, allocations: 115.2 kB / 0.6298 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.01207, allocations: 8 kB / 0.6298 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.01212, allocations: 40.67 kB / 0.6298 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of SimCode: time 5.11e-07/0.01212, allocations: 0 / 0.6298 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.02984, allocations: 4.252 MB / 0.634 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/6.677, allocations: 0 / 0.634 GB, free: 12.89 MB / 0.6042 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.146675786934793] Failed to read output from testmodel.py, exit status != 0: 6.757172798737884 6.764736002 6.758614174 Calling exit ...