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.0008287/0.0008287, 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.0009362/0.0009362, allocations: 219.2 kB / 22.26 MB, free: 3.84 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 0.9592/0.9592, allocations: 230.6 MB / 256 MB, free: 9.797 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.7776/0.7776, allocations: 203.8 MB / 0.5042 GB, free: 10.6 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.0009743/0.0009743, allocations: 67.02 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5594, allocations: 102 MB / 0.8178 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002151/0.5616, allocations: 1.655 MB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.5626, allocations: 0.6933 MB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.5627, allocations: 1.875 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.5628, allocations: 73.27 kB / 0.8202 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.5632, allocations: 107.8 kB / 0.8203 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.5636, allocations: 109.8 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.5638, allocations: 126.6 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.5639, allocations: 13.34 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.5641, allocations: 77.58 kB / 0.8206 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.5643, allocations: 115.7 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.5643, allocations: 8.469 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.5645, allocations: 86 kB / 0.8208 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.944e-05/0.5645, allocations: 34.72 kB / 0.8209 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.5646, allocations: 55.34 kB / 0.8209 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.565, allocations: 173.8 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.565, allocations: 0.7969 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.459e-06/0.565, allocations: 0 / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.565, allocations: 0 / 0.8211 GB, free: 15.29 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.0008899/0.5659, allocations: 419.1 kB / 0.8215 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.566, allocations: 11.2 kB / 0.8215 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.566, allocations: 38.7 kB / 0.8215 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.5662, allocations: 22.59 kB / 0.8215 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.5665, allocations: 152 kB / 0.8217 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.5665, allocations: 3.062 kB / 0.8217 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.5665, allocations: 11.98 kB / 0.8217 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.5668, allocations: 128 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5668, allocations: 2.234 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.5668, allocations: 4 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.5668, allocations: 1.312 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.5669, allocations: 67.48 kB / 0.8219 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.5673, allocations: 390.9 kB / 0.8223 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.5675, allocations: 106.2 kB / 0.8224 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.237e-05/0.5676, allocations: 75.52 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.5676, allocations: 0.6094 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.5678, allocations: 169.9 kB / 0.8226 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.5678, allocations: 4 kB / 0.8226 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004504/0.5683, allocations: 333.3 kB / 0.8229 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.5683, allocations: 111.8 kB / 0.823 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.5685, allocations: 215.5 kB / 0.8232 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.5685, allocations: 31.77 kB / 0.8233 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.5686, allocations: 111.7 kB / 0.8234 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.5686, allocations: 35.88 kB / 0.8234 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.5687, allocations: 31.33 kB / 0.8234 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003721/0.569, allocations: 337.8 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.5691, allocations: 64.95 kB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.5692, allocations: 76.78 kB / 0.8239 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.5694, allocations: 193.8 kB / 0.8241 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5694, allocations: 0 / 0.8241 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002608/0.5696, allocations: 271.2 kB / 0.8243 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.5697, allocations: 40.44 kB / 0.8244 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5697, allocations: 1.5 kB / 0.8244 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5697, allocations: 4 kB / 0.8244 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.5698, allocations: 18.72 kB / 0.8244 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5698, allocations: 0 / 0.8244 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.5699, allocations: 6 kB / 0.8244 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.5699, allocations: 3.875 kB / 0.8244 GB, free: 12.79 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.0001379/0.57, allocations: 188.3 kB / 0.8246 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.57, allocations: 17.47 kB / 0.8246 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.5703, allocations: 114 kB / 0.8247 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5703, allocations: 8.562 kB / 0.8247 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5703, allocations: 1.344 kB / 0.8247 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5703, allocations: 0 / 0.8247 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.5705, allocations: 198.6 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5705, allocations: 1.531 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.5705, allocations: 9.031 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5705, allocations: 1.594 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.5705, allocations: 5.672 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5705, allocations: 0 / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5705, allocations: 8.312 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.5709, allocations: 342.6 kB / 0.8253 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.571, allocations: 32.52 kB / 0.8253 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.571, allocations: 7.703 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.571, allocations: 6.891 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.5711, allocations: 8.406 kB / 0.8253 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.5711, allocations: 17.8 kB / 0.8253 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001071/0.5712, allocations: 155.2 kB / 0.8255 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.5712, allocations: 0 / 0.8255 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002232/0.5715, allocations: 52.09 kB / 0.8255 GB, free: 12.03 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.0005942/0.5721, allocations: 0.8932 MB / 0.8264 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.5723, allocations: 210.7 kB / 0.8266 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5723, allocations: 0 / 0.8266 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.5724, allocations: 139.5 kB / 0.8267 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.5726, allocations: 15.61 kB / 0.8268 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.5746, allocations: 2.255 MB / 0.829 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.5748, allocations: 0.7243 MB / 0.8297 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.5748, allocations: 9.891 kB / 0.8297 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.5749, allocations: 44.59 kB / 0.8297 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.5749, allocations: 0 / 0.8297 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.5964, allocations: 3.687 MB / 0.8333 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.699/7.295, allocations: 8.547 kB / 0.8333 GB, free: 8.25 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 & /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: 10.223373589105904] Failed to read output from testmodel.py, exit status != 0: 7.37310786684975 7.384441461 6.816681379 Calling exit ...