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.0009763/0.0009763, 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.0009568/0.0009568, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8969/0.8969, allocations: 177.1 MB / 202.8 MB, free: 5.758 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-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 0.7199/0.7199, allocations: 154.6 MB / 413.8 MB, free: 0.8203 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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.499e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002523/0.002548, allocations: 1.618 MB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003666, allocations: 0.6465 MB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.003752, allocations: 0 / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.00392, allocations: 75.77 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.004197, allocations: 107.6 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.004557, allocations: 103.6 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.004743, allocations: 127.7 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.004834, allocations: 11.98 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.005033, allocations: 91.78 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.005182, allocations: 103.9 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.005203, allocations: 4 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.005339, allocations: 87.92 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.005413, allocations: 35.84 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.005473, allocations: 31.86 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.005738, allocations: 195.4 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005741, allocations: 0 / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.503e-06/0.005743, allocations: 0 / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.00575, allocations: 3.984 kB / 0.6212 GB, free: 10.45 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.0007074/0.006458, allocations: 411 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.006507, allocations: 8.031 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.00655, allocations: 42.73 kB / 0.6217 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.006697, allocations: 24.84 kB / 0.6217 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.006979, allocations: 153.5 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.006998, allocations: 8.375 kB / 0.6218 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.007014, allocations: 4.375 kB / 0.6219 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.00725, allocations: 153.5 kB / 0.622 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.007261, allocations: 4.172 kB / 0.622 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.007277, allocations: 12.12 kB / 0.622 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.007283, allocations: 0 / 0.622 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.007391, allocations: 93.67 kB / 0.6221 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.007785, allocations: 368 kB / 0.6225 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.007938, allocations: 138.8 kB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.008021, allocations: 111.4 kB / 0.6227 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.00804, allocations: 0 / 0.6227 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.008255, allocations: 207.2 kB / 0.6229 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.008256, allocations: 0 / 0.6229 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0004244/0.008681, allocations: 402.7 kB / 0.6233 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.008735, allocations: 114.8 kB / 0.6234 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.008889, allocations: 212.8 kB / 0.6236 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.008906, allocations: 33.7 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.008958, allocations: 112.1 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.008992, allocations: 39.69 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.009033, allocations: 25.72 kB / 0.6238 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.009126, allocations: 330.8 kB / 0.6241 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.009204, allocations: 97.61 kB / 0.6242 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.00928, allocations: 111.3 kB / 0.6243 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.00943, allocations: 197 kB / 0.6245 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.009435, allocations: 4.188 kB / 0.6245 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00025/0.009685, allocations: 312.9 kB / 0.6248 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.00972, allocations: 37.69 kB / 0.6248 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.009726, allocations: 4 kB / 0.6248 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.009738, allocations: 0 / 0.6248 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.00982, allocations: 15.94 kB / 0.6248 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.009826, allocations: 0 / 0.6248 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.009886, allocations: 11.98 kB / 0.6249 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.009898, allocations: 4 kB / 0.6249 GB, free: 6.367 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.000132/0.01003, allocations: 188.5 kB / 0.625 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.01005, allocations: 23.8 kB / 0.6251 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.01021, allocations: 103.1 kB / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01022, allocations: 4.078 kB / 0.6252 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.01022, allocations: 3.938 kB / 0.6252 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.01023, allocations: 0 / 0.6252 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.01038, allocations: 192.6 kB / 0.6254 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01038, allocations: 0 / 0.6254 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.01041, allocations: 8 kB / 0.6254 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01042, allocations: 0 / 0.6254 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01043, allocations: 4 kB / 0.6254 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01043, allocations: 7.984 kB / 0.6254 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01043, allocations: 0 / 0.6254 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.01074, allocations: 373 kB / 0.6257 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.01078, allocations: 27.89 kB / 0.6258 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.01081, allocations: 11.98 kB / 0.6258 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.01086, allocations: 4 kB / 0.6258 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.01091, allocations: 7.984 kB / 0.6258 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.01092, allocations: 11.94 kB / 0.6258 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.741e-05/0.01102, allocations: 155.2 kB / 0.6259 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01102, allocations: 4 kB / 0.6259 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001896/0.01121, allocations: 43.94 kB / 0.626 GB, free: 5.121 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.000587/0.0118, allocations: 0.9406 MB / 0.6269 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.01206, allocations: 282.7 kB / 0.6272 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01206, allocations: 0 / 0.6272 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.01218, allocations: 165.1 kB / 0.6273 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.01234, allocations: 14.23 kB / 0.6273 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.01414, allocations: 2.422 MB / 0.6297 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.667e-05/0.01421, allocations: 114.2 kB / 0.6298 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.01424, allocations: 7.953 kB / 0.6298 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.0143, allocations: 44.48 kB / 0.6299 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.0143, allocations: 0 / 0.6299 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.03082, allocations: 4.237 MB / 0.634 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/6.987, allocations: 17.47 kB / 0.634 GB, free: 12.84 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.876595998182893] Failed to read output from testmodel.py, exit status != 0: 7.07143497094512 7.08040384 7.072888331 Calling exit ...