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.0007202/0.0007202, allocations: 80.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.0007497/0.0007497, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.906/0.906, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7077/0.7077, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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 4.949e-06/4.949e-06, allocations: 3.938 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.9e-05/4.395e-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.002499/0.002543, allocations: 1.61 MB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009807/0.003523, allocations: 0.6426 MB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.003597, allocations: 7.938 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.003766, allocations: 67.83 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.004115, allocations: 107.6 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.004514, allocations: 103.6 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.004698, allocations: 127.7 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.004792, allocations: 4 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.00501, allocations: 103.8 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.005157, allocations: 99.86 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.005179, allocations: 12 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.005309, allocations: 87.84 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.005371, allocations: 31.86 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.005431, allocations: 31.86 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.005664, allocations: 187.5 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.005668, allocations: 0 / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/0.00567, allocations: 4 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.005675, allocations: 0 / 0.6212 GB, free: 10.5 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.0009297/0.006605, allocations: 417.4 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.006652, allocations: 9.469 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.006688, allocations: 42.75 kB / 0.6216 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.006835, allocations: 20.83 kB / 0.6216 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.007122, allocations: 154.1 kB / 0.6218 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.007143, allocations: 4.312 kB / 0.6218 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.007159, allocations: 12.36 kB / 0.6218 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.007386, allocations: 153.6 kB / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.007394, allocations: 192 / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.007409, allocations: 8.109 kB / 0.622 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007417, allocations: 4 kB / 0.622 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.007526, allocations: 105.6 kB / 0.6221 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.007927, allocations: 360.1 kB / 0.6224 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.00809, allocations: 142.7 kB / 0.6225 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.008172, allocations: 99.48 kB / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.008199, allocations: 4 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.008453, allocations: 215.8 kB / 0.6228 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.008455, allocations: 3.938 kB / 0.6228 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0004528/0.008908, allocations: 398.5 kB / 0.6232 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.008971, allocations: 106.8 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.009147, allocations: 224.1 kB / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.009163, allocations: 25.7 kB / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.009224, allocations: 120.1 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.009259, allocations: 35.69 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.009314, allocations: 29.7 kB / 0.6237 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.009414, allocations: 326.8 kB / 0.6241 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.009497, allocations: 93.67 kB / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.009576, allocations: 111.4 kB / 0.6242 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.009731, allocations: 200.9 kB / 0.6244 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.009734, allocations: 3.938 kB / 0.6244 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002596/0.009994, allocations: 305.2 kB / 0.6247 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/0.01004, allocations: 47.56 kB / 0.6248 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.01005, allocations: 7.938 kB / 0.6248 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01007, allocations: 0 / 0.6248 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.01017, allocations: 11.98 kB / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01017, allocations: 4 kB / 0.6248 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.01024, allocations: 4 kB / 0.6248 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.01025, allocations: 8 kB / 0.6248 GB, free: 6.41 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 0.0001472/0.0104, allocations: 187.8 kB / 0.625 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.01043, allocations: 19.86 kB / 0.625 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.01061, allocations: 103.1 kB / 0.6251 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.01062, allocations: 4.094 kB / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.01062, allocations: 96 / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-06/0.01063, allocations: 7.922 kB / 0.6251 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.01079, allocations: 188.6 kB / 0.6253 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.01079, allocations: 0 / 0.6253 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.01083, allocations: 11.98 kB / 0.6253 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01083, allocations: 0 / 0.6253 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.01085, allocations: 8 kB / 0.6253 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01085, allocations: 0 / 0.6253 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01085, allocations: 4 kB / 0.6253 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.01116, allocations: 377 kB / 0.6257 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.01123, allocations: 31.88 kB / 0.6257 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.01125, allocations: 0 / 0.6257 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.01131, allocations: 12 kB / 0.6257 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.01136, allocations: 11.97 kB / 0.6257 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.01138, allocations: 4 kB / 0.6257 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.902e-05/0.01148, allocations: 160.5 kB / 0.6259 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01148, allocations: 3.938 kB / 0.6259 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002099/0.01169, allocations: 47.94 kB / 0.6259 GB, free: 5.156 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.0006399/0.01233, allocations: 0.9288 MB / 0.6269 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.01259, allocations: 282.7 kB / 0.6271 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01259, allocations: 0 / 0.6271 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.0127, allocations: 173.2 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.000186/0.01289, allocations: 12 kB / 0.6273 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.01516, allocations: 2.414 MB / 0.6297 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.504e-05/0.01524, allocations: 115.2 kB / 0.6298 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.01528, allocations: 7.984 kB / 0.6298 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.01534, allocations: 40.48 kB / 0.6298 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/0.01535, allocations: 0 / 0.6298 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.03385, allocations: 4.258 MB / 0.634 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.416, allocations: 9.016 kB / 0.634 GB, free: 12.9 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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: 10.238417114131153] Failed to read output from testmodel.py, exit status != 0: 7.501348204910755 7.516291626 7.504026147 Calling exit ...