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.0006969/0.0006969, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008045/0.0008045, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 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.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.816 MB / 202.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.8374/0.8374, allocations: 203.8 MB / 0.5042 GB, free: 10.8 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007543/0.0007543, allocations: 72.92 kB / 0.7182 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5325, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002066/0.5346, allocations: 1.645 MB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.5355, allocations: 0.6935 MB / 0.8201 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.5356, allocations: 0 / 0.8201 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.5358, allocations: 82.19 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.536, allocations: 102.9 kB / 0.8203 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.5364, allocations: 101.2 kB / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.5366, allocations: 136.9 kB / 0.8205 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.5366, allocations: 7.484 kB / 0.8205 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.5368, allocations: 80.05 kB / 0.8206 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.537, allocations: 116.7 kB / 0.8207 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.537, allocations: 4.375 kB / 0.8207 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.5372, allocations: 86.47 kB / 0.8208 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.5372, allocations: 34.47 kB / 0.8209 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.5373, allocations: 54.42 kB / 0.8209 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.5375, allocations: 179.3 kB / 0.8211 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5375, allocations: 0.7969 kB / 0.8211 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5375, allocations: 0 / 0.8211 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5375, allocations: 0 / 0.8211 GB, free: 15.34 MB / 0.6198 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.0005685/0.5381, allocations: 416.3 kB / 0.8215 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.5382, allocations: 10 kB / 0.8215 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.5382, allocations: 39.06 kB / 0.8215 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.5383, allocations: 25.77 kB / 0.8215 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.5385, allocations: 157.1 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.5386, allocations: 3.828 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.5386, allocations: 6.938 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.5388, allocations: 122.1 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5388, allocations: 3.938 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5388, allocations: 4 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5388, allocations: 1.812 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.5389, allocations: 70.3 kB / 0.8219 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.5393, allocations: 384.4 kB / 0.8223 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.5394, allocations: 105.9 kB / 0.8224 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.5395, allocations: 74.25 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.5395, allocations: 2.875 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.5397, allocations: 180.8 kB / 0.8226 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.5397, allocations: 0 / 0.8226 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004356/0.5402, allocations: 337 kB / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.5402, allocations: 111.9 kB / 0.823 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.5404, allocations: 220 kB / 0.8233 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.5404, allocations: 31.27 kB / 0.8233 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.5405, allocations: 112 kB / 0.8234 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.5405, allocations: 31.42 kB / 0.8234 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.5405, allocations: 30.98 kB / 0.8234 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.5406, allocations: 333.5 kB / 0.8238 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.42e-05/0.5407, allocations: 58.33 kB / 0.8238 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.5408, allocations: 76.06 kB / 0.8239 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.5409, allocations: 201.7 kB / 0.8241 GB, free: 13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5409, allocations: 0 / 0.8241 GB, free: 13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000258/0.5412, allocations: 271.8 kB / 0.8243 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.5412, allocations: 39.3 kB / 0.8244 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5412, allocations: 0 / 0.8244 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5412, allocations: 1.094 kB / 0.8244 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.5413, allocations: 14.47 kB / 0.8244 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5413, allocations: 1.281 kB / 0.8244 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.5414, allocations: 7.297 kB / 0.8244 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5414, allocations: 4.125 kB / 0.8244 GB, free: 12.85 MB / 0.6198 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.0001189/0.5415, allocations: 191.5 kB / 0.8246 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.5416, allocations: 20.69 kB / 0.8246 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.5417, allocations: 105.9 kB / 0.8247 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5417, allocations: 1.688 kB / 0.8247 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5417, allocations: 0 / 0.8247 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5418, allocations: 1.5 kB / 0.8247 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.5419, allocations: 198.8 kB / 0.8249 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5419, allocations: 6.594 kB / 0.8249 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.542, allocations: 14.52 kB / 0.8249 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.542, allocations: 0 / 0.8249 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.542, allocations: 9.031 kB / 0.8249 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.542, allocations: 3.625 kB / 0.8249 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.542, allocations: 0 / 0.8249 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.5423, allocations: 332 kB / 0.8253 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.5424, allocations: 32.2 kB / 0.8253 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.5424, allocations: 12.31 kB / 0.8253 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.5424, allocations: 5.328 kB / 0.8253 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.5425, allocations: 17.73 kB / 0.8253 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.5425, allocations: 9 kB / 0.8253 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001167/0.5426, allocations: 159.2 kB / 0.8255 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5426, allocations: 0 / 0.8255 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002105/0.5429, allocations: 48.09 kB / 0.8255 GB, free: 12.09 MB / 0.6198 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.0006292/0.5435, allocations: 0.8983 MB / 0.8264 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.5437, allocations: 207.5 kB / 0.8266 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5437, allocations: 0 / 0.8266 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.5439, allocations: 138.5 kB / 0.8267 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.5441, allocations: 16.23 kB / 0.8268 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.5461, allocations: 2.251 MB / 0.8289 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.5464, allocations: 0.7234 MB / 0.8297 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.897e-05/0.5464, allocations: 14.16 kB / 0.8297 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.5465, allocations: 43.91 kB / 0.8297 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of SimCode: time 1.653e-06/0.5465, allocations: 3.938 kB / 0.8297 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.5691, allocations: 3.693 MB / 0.8333 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/7.288, allocations: 5.859 kB / 0.8333 GB, free: 8.301 MB / 0.6198 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.482846524799243] Failed to read output from testmodel.py, exit status != 0: 7.367170937824994 7.379814112 6.839461816 Calling exit ...