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.001504/0.001504, allocations: 173.7 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7631/0.7631, allocations: 133.6 MB / 141.6 MB, free: 2.852 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.0009622/0.0009622, allocations: 99.36 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.148e-05, allocations: 4 kB / 0.5535 GB, free: 9.051 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.5365, allocations: 82.31 MB / 0.6338 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1741/0.7107, allocations: 112 MB / 0.7432 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/0.7111, allocations: 83.94 kB / 0.7433 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01028/0.7214, allocations: 3.243 MB / 0.7465 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.258e-06/0.7214, allocations: 0 / 0.7465 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.7215, allocations: 0 / 0.7465 GB, free: 7.398 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.0008085/0.7223, allocations: 427.8 kB / 0.7469 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.663e-05/0.7224, allocations: 12.03 kB / 0.7469 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.7225, allocations: 19.81 kB / 0.7469 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.723, allocations: 223.5 kB / 0.7471 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.723, allocations: 0 / 0.7471 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.7231, allocations: 4 kB / 0.7471 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002338/0.7233, allocations: 71.95 kB / 0.7472 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.7236, allocations: 123.3 kB / 0.7473 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.7236, allocations: 4 kB / 0.7473 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.7237, allocations: 0 / 0.7473 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.7237, allocations: 4 kB / 0.7473 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.7244, allocations: 377.4 kB / 0.7477 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.7246, allocations: 105.1 kB / 0.7478 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.7247, allocations: 93.78 kB / 0.7479 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.7248, allocations: 4 kB / 0.7479 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.7251, allocations: 166.7 kB / 0.7481 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.7251, allocations: 3.938 kB / 0.7481 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0008185/0.7259, allocations: 279.1 kB / 0.7483 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.726, allocations: 106.8 kB / 0.7484 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.7263, allocations: 178.3 kB / 0.7486 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.7263, allocations: 25.7 kB / 0.7486 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.7264, allocations: 112.1 kB / 0.7487 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.7265, allocations: 23.66 kB / 0.7488 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.7265, allocations: 0 / 0.7488 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.7267, allocations: 330.8 kB / 0.7491 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.7268, allocations: 67.95 kB / 0.7491 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.7269, allocations: 81.69 kB / 0.7492 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.7271, allocations: 68.64 kB / 0.7493 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.7271, allocations: 4 kB / 0.7493 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000497/0.7276, allocations: 273.3 kB / 0.7495 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.7277, allocations: 45.62 kB / 0.7496 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7277, allocations: 0 / 0.7496 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.7278, allocations: 0 / 0.7496 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/0.7279, allocations: 8 kB / 0.7496 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.7279, allocations: 3.984 kB / 0.7496 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.728, allocations: 11.97 kB / 0.7496 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.728, allocations: 8 kB / 0.7496 GB, free: 3.934 MB / 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 () * 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.0001815/0.7282, allocations: 150.2 kB / 0.7498 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.7282, allocations: 15.81 kB / 0.7498 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.7284, allocations: 55.53 kB / 0.7498 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.7284, allocations: 7.984 kB / 0.7498 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7285, allocations: 0 / 0.7498 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7285, allocations: 4 kB / 0.7498 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.7287, allocations: 209.9 kB / 0.75 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7287, allocations: 0 / 0.75 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.7288, allocations: 8 kB / 0.75 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.7288, allocations: 3.938 kB / 0.75 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.7288, allocations: 7.984 kB / 0.7501 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7288, allocations: 0 / 0.7501 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.7289, allocations: 8.062 kB / 0.7501 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.7295, allocations: 338.4 kB / 0.7504 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.7297, allocations: 112.9 kB / 0.7505 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/0.7298, allocations: 4 kB / 0.7505 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.7298, allocations: 7.984 kB / 0.7505 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.7299, allocations: 4 kB / 0.7505 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.7299, allocations: 12 kB / 0.7505 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001274/0.7301, allocations: 145.2 kB / 0.7507 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7301, allocations: 4 kB / 0.7507 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002773/0.7304, allocations: 39.94 kB / 0.7507 GB, free: 2.727 MB / 0.5261 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.0002514/0.7306, allocations: 139.2 kB / 0.7508 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.7309, allocations: 203.4 kB / 0.751 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7309, allocations: 0 / 0.751 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.7311, allocations: 151.3 kB / 0.7512 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.7313, allocations: 8.141 kB / 0.7512 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.7318, allocations: 233.6 kB / 0.7514 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.7321, allocations: 0.7197 MB / 0.7521 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.7321, allocations: 4 kB / 0.7521 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.7322, allocations: 11.44 kB / 0.7521 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of SimCode: time 3.6e-07/0.7322, allocations: 0 / 0.7521 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.004393/0.7366, allocations: 1.19 MB / 0.7533 GB, free: 0 / 0.5261 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)