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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.01024/0.01024, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.728/0.728, allocations: 132.3 MB / 148.1 MB, free: 268 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.1 MB / 403.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009884/0.0009881, allocations: 102.8 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 12 kB / 0.5641 GB, free: 2.121 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.5119, allocations: 81.57 MB / 0.6438 GB, free: 39.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.6848, allocations: 112.5 MB / 0.7536 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.6851, allocations: 83.94 kB / 0.7537 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009409/0.6946, allocations: 3.27 MB / 0.7569 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.141e-06/0.6946, allocations: 4 kB / 0.7569 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.6946, allocations: 4 kB / 0.7569 GB, free: 4.043 MB / 0.5261 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.0005955/0.6952, allocations: 456.2 kB / 0.7574 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.6953, allocations: 8.031 kB / 0.7574 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.6954, allocations: 15.81 kB / 0.7574 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.6957, allocations: 215.6 kB / 0.7576 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.6958, allocations: 4 kB / 0.7576 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.6958, allocations: 7.938 kB / 0.7576 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.696, allocations: 131.3 kB / 0.7577 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.696, allocations: 7.984 kB / 0.7577 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.6961, allocations: 0 / 0.7577 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6961, allocations: 0 / 0.7577 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.6962, allocations: 83.89 kB / 0.7578 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.6967, allocations: 389 kB / 0.7582 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.6969, allocations: 125 kB / 0.7583 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.697, allocations: 0 / 0.7583 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.6972, allocations: 174.8 kB / 0.7585 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.6972, allocations: 0 / 0.7585 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.000735/0.698, allocations: 458.3 kB / 0.7589 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.698, allocations: 114.8 kB / 0.759 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.6982, allocations: 184.2 kB / 0.7592 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.6983, allocations: 29.7 kB / 0.7592 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.6983, allocations: 108.1 kB / 0.7593 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.6984, allocations: 23.66 kB / 0.7594 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.6984, allocations: 4 kB / 0.7594 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6985, allocations: 331.5 kB / 0.7597 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.6987, allocations: 75.91 kB / 0.7597 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.6988, allocations: 85.61 kB / 0.7598 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.6989, allocations: 101.7 kB / 0.7599 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6989, allocations: 0 / 0.7599 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004265/0.6993, allocations: 307 kB / 0.7602 GB, free: 376 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.6994, allocations: 39.72 kB / 0.7603 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6994, allocations: 0 / 0.7603 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.6994, allocations: 3.938 kB / 0.7603 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.6995, allocations: 8 kB / 0.7603 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.6995, allocations: 4.031 kB / 0.7603 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.6996, allocations: 4 kB / 0.7603 GB, free: 312 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.6996, allocations: 12.02 kB / 0.7603 GB, free: 300 kB / 0.5261 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 () * Number of clocked 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.0001572/0.6998, allocations: 175.5 kB / 0.7604 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.6998, allocations: 27.81 kB / 0.7605 GB, free: 80 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.7, allocations: 71.09 kB / 0.7605 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.7, allocations: 0 / 0.7605 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7001, allocations: 4.094 kB / 0.7605 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7001, allocations: 4 kB / 0.7606 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.7003, allocations: 229.4 kB / 0.7608 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7003, allocations: 0 / 0.7608 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.7003, allocations: 8 kB / 0.7608 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7004, allocations: 0 / 0.7608 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.7004, allocations: 7.984 kB / 0.7608 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7004, allocations: 0 / 0.7608 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7004, allocations: 4 kB / 0.7608 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.701, allocations: 382.9 kB / 0.7612 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.7011, allocations: 109 kB / 0.7613 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.7011, allocations: 4 kB / 0.7613 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.7012, allocations: 4 kB / 0.7613 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.7013, allocations: 7.984 kB / 0.7613 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.7013, allocations: 12 kB / 0.7613 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001549/0.7014, allocations: 152.1 kB / 0.7614 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7015, allocations: 4 kB / 0.7614 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002624/0.7017, allocations: 47.89 kB / 0.7615 GB, free: 14.93 MB / 0.5417 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) * Number of clocked states: 0 () * 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.0002299/0.702, allocations: 123.2 kB / 0.7616 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.7023, allocations: 219.2 kB / 0.7618 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7023, allocations: 0 / 0.7618 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.7024, allocations: 155.3 kB / 0.762 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.7026, allocations: 6.766 kB / 0.762 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.7032, allocations: 344.1 kB / 0.7623 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.7036, allocations: 0.7274 MB / 0.763 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.29e-05/0.7036, allocations: 3.984 kB / 0.763 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.7037, allocations: 11.44 kB / 0.763 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.7037, allocations: 0 / 0.763 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.004009/0.7077, allocations: 1.223 MB / 0.7642 GB, free: 12.07 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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 & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)