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.007375/0.007375, allocations: 169.3 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7262/0.7262, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.484/1.484, allocations: 223.2 MB / 406.9 MB, free: 3.215 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.001076/0.001076, allocations: 96.84 kB / 490 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004422, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.5235, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.6939, allocations: 112.8 MB / 0.7596 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.6942, allocations: 87.94 kB / 0.7597 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008871/0.7031, allocations: 3.278 MB / 0.7629 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7031, allocations: 0 / 0.7629 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.7031, allocations: 4 kB / 0.7629 GB, free: 15.87 MB / 0.5417 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.0005812/0.7037, allocations: 460.2 kB / 0.7633 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7038, allocations: 8.031 kB / 0.7633 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.7039, allocations: 15.81 kB / 0.7633 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.7042, allocations: 215.6 kB / 0.7636 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.7042, allocations: 0 / 0.7636 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.7042, allocations: 8 kB / 0.7636 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.7045, allocations: 127.3 kB / 0.7637 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.7045, allocations: 0 / 0.7637 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.7045, allocations: 8 kB / 0.7637 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7045, allocations: 0 / 0.7637 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.7047, allocations: 79.94 kB / 0.7638 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.7052, allocations: 396.9 kB / 0.7641 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.7054, allocations: 113.1 kB / 0.7642 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.7054, allocations: 8.062 kB / 0.7643 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.7057, allocations: 182.6 kB / 0.7644 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.7057, allocations: 0 / 0.7644 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0007138/0.7064, allocations: 458.2 kB / 0.7649 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.7065, allocations: 110.9 kB / 0.765 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.7067, allocations: 185.2 kB / 0.7652 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.7067, allocations: 25.7 kB / 0.7652 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.7068, allocations: 112.1 kB / 0.7653 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.7069, allocations: 23.66 kB / 0.7653 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.7069, allocations: 0 / 0.7653 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.707, allocations: 335.5 kB / 0.7656 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.7071, allocations: 63.95 kB / 0.7657 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.7072, allocations: 93.61 kB / 0.7658 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.7074, allocations: 105.6 kB / 0.7659 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7074, allocations: 0 / 0.7659 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004238/0.7078, allocations: 307 kB / 0.7662 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.7079, allocations: 37.7 kB / 0.7662 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7079, allocations: 0 / 0.7662 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7079, allocations: 0 / 0.7662 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.708, allocations: 11.98 kB / 0.7662 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.708, allocations: 0 / 0.7662 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.7081, allocations: 8.031 kB / 0.7662 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.7081, allocations: 8 kB / 0.7662 GB, free: 12.13 MB / 0.5417 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.0001621/0.7083, allocations: 182.8 kB / 0.7664 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.7083, allocations: 15.91 kB / 0.7664 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.7085, allocations: 79 kB / 0.7665 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7085, allocations: 0 / 0.7665 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7085, allocations: 0 / 0.7665 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7085, allocations: 0 / 0.7665 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.7087, allocations: 237.4 kB / 0.7667 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7087, allocations: 0 / 0.7667 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.7088, allocations: 12 kB / 0.7667 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7088, allocations: 0 / 0.7667 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.7088, allocations: 4 kB / 0.7667 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7088, allocations: 0 / 0.7667 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7088, allocations: 0 / 0.7667 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.7094, allocations: 382.9 kB / 0.7671 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.7095, allocations: 113 kB / 0.7672 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.7096, allocations: 4 kB / 0.7672 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.642e-05/0.7096, allocations: 4 kB / 0.7672 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.7097, allocations: 7.984 kB / 0.7672 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.7097, allocations: 12 kB / 0.7672 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001243/0.7098, allocations: 156.3 kB / 0.7674 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7098, allocations: 0 / 0.7674 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002573/0.7101, allocations: 47.94 kB / 0.7674 GB, free: 10.78 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.0002191/0.7103, allocations: 127.2 kB / 0.7676 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.7106, allocations: 215.3 kB / 0.7678 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7106, allocations: 0 / 0.7678 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.7108, allocations: 147.4 kB / 0.7679 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.711, allocations: 15.14 kB / 0.7679 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.7116, allocations: 354.6 kB / 0.7683 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.7119, allocations: 0.7274 MB / 0.769 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.7119, allocations: 3.984 kB / 0.769 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.712, allocations: 15.42 kB / 0.769 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.712, allocations: 0 / 0.769 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of Templates: time 0.004013/0.716, allocations: 1.216 MB / 0.7702 GB, free: 7.902 MB / 0.5417 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)