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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6891/0.6891, allocations: 133.4 MB / 146.7 MB, free: 10.76 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 94 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.745e-05, allocations: 7.359 kB / 0.56 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 82.3 MB / 0.6404 GB, free: 7.793 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7551/0.96, allocations: 112.7 MB / 0.7505 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.9604, allocations: 82.92 kB / 0.7506 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009068/0.9694, allocations: 3.263 MB / 0.7537 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9695, allocations: 0 / 0.7537 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.9695, allocations: 3.844 kB / 0.7537 GB, free: 27.38 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004765/0.97, allocations: 432.5 kB / 0.7542 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.9701, allocations: 7.688 kB / 0.7542 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.9701, allocations: 19.45 kB / 0.7542 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.9704, allocations: 220.7 kB / 0.7544 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.9704, allocations: 3.25 kB / 0.7544 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.9705, allocations: 3.844 kB / 0.7544 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.9707, allocations: 132.6 kB / 0.7545 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9708, allocations: 0 / 0.7545 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.9708, allocations: 3.188 kB / 0.7545 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.9708, allocations: 3.844 kB / 0.7545 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.9709, allocations: 75.56 kB / 0.7546 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.9714, allocations: 402.5 kB / 0.755 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.9716, allocations: 113.9 kB / 0.7551 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.9717, allocations: 90.67 kB / 0.7552 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.9717, allocations: 3.844 kB / 0.7552 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.972, allocations: 172.4 kB / 0.7554 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.405e-06/0.972, allocations: 7.781 kB / 0.7554 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0005176/0.9725, allocations: 311.2 kB / 0.7557 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.9726, allocations: 106.6 kB / 0.7558 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.9727, allocations: 182.4 kB / 0.7559 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.9728, allocations: 29.58 kB / 0.756 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.9728, allocations: 106.2 kB / 0.7561 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.9729, allocations: 29.77 kB / 0.7561 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.9729, allocations: 3.844 kB / 0.7561 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.9731, allocations: 328.2 kB / 0.7564 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.9732, allocations: 68.53 kB / 0.7565 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.9733, allocations: 82.25 kB / 0.7565 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.9734, allocations: 98.7 kB / 0.7566 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9734, allocations: 0 / 0.7566 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003577/0.9738, allocations: 312.6 kB / 0.7569 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.9738, allocations: 38.95 kB / 0.757 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9738, allocations: 0 / 0.757 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.9738, allocations: 0 / 0.757 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.9739, allocations: 11.44 kB / 0.757 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.9739, allocations: 0 / 0.757 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.974, allocations: 6.031 kB / 0.757 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.974, allocations: 14.41 kB / 0.757 GB, free: 25.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.9742, allocations: 144.8 kB / 0.7571 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.9742, allocations: 19.47 kB / 0.7572 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.9744, allocations: 72.77 kB / 0.7572 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.9744, allocations: 0 / 0.7572 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9744, allocations: 4.062 kB / 0.7572 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9744, allocations: 0 / 0.7572 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.9746, allocations: 234.2 kB / 0.7575 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9746, allocations: 3.938 kB / 0.7575 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.9746, allocations: 14.08 kB / 0.7575 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.9747, allocations: 0 / 0.7575 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.9747, allocations: 10.97 kB / 0.7575 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9747, allocations: 3.969 kB / 0.7575 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9747, allocations: 0 / 0.7575 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.9752, allocations: 369 kB / 0.7578 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.9753, allocations: 116.9 kB / 0.758 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.9754, allocations: 4.812 kB / 0.758 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.9754, allocations: 8.938 kB / 0.758 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.9755, allocations: 7.844 kB / 0.758 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.9755, allocations: 9.531 kB / 0.758 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001297/0.9756, allocations: 149.9 kB / 0.7581 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9756, allocations: 0 / 0.7581 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002303/0.9759, allocations: 47.09 kB / 0.7582 GB, free: 24.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002133/0.9761, allocations: 132.9 kB / 0.7583 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.9764, allocations: 218.9 kB / 0.7585 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9764, allocations: 0 / 0.7585 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.9765, allocations: 152.8 kB / 0.7587 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.9767, allocations: 9.156 kB / 0.7587 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.9771, allocations: 239.6 kB / 0.7589 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.9775, allocations: 0.7281 MB / 0.7596 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.9775, allocations: 6.562 kB / 0.7596 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.9775, allocations: 11.25 kB / 0.7596 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.9775, allocations: 0 / 0.7596 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.003861/0.9814, allocations: 1.225 MB / 0.7608 GB, free: 23.21 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)