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.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00668/0.006681, allocations: 101.1 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 186.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.936/0.936, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.89 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4932, allocations: 80.92 MB / 0.6646 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003161/0.4964, allocations: 1.48 MB / 0.6661 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.4975, allocations: 0.5834 MB / 0.6666 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.4976, allocations: 0 / 0.6666 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.4977, allocations: 75.47 kB / 0.6667 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.498, allocations: 83.19 kB / 0.6668 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.4985, allocations: 100.1 kB / 0.6669 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.4987, allocations: 97.69 kB / 0.667 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.4988, allocations: 12.14 kB / 0.667 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.499, allocations: 58.12 kB / 0.6671 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.4991, allocations: 90.75 kB / 0.6671 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.4992, allocations: 3.781 kB / 0.6671 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.4993, allocations: 81.42 kB / 0.6672 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.4994, allocations: 23.58 kB / 0.6672 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.4995, allocations: 45.55 kB / 0.6673 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.4997, allocations: 142 kB / 0.6674 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4997, allocations: 0 / 0.6674 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4997, allocations: 0 / 0.6674 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4997, allocations: 1.188 kB / 0.6674 GB, free: 5.547 MB / 0.4981 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.0005278/0.5003, allocations: 452.8 kB / 0.6679 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5003, allocations: 13.44 kB / 0.6679 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.5004, allocations: 15.28 kB / 0.6679 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.5006, allocations: 206.4 kB / 0.6681 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.5007, allocations: 5.688 kB / 0.6681 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.5007, allocations: 7.594 kB / 0.6681 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.5009, allocations: 108.4 kB / 0.6682 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5009, allocations: 0 / 0.6682 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.5009, allocations: 1.156 kB / 0.6682 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5009, allocations: 1.312 kB / 0.6682 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.501, allocations: 62.66 kB / 0.6683 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.5014, allocations: 300.6 kB / 0.6685 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.5015, allocations: 98.83 kB / 0.6686 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/0.5016, allocations: 77.61 kB / 0.6687 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.5016, allocations: 5.375 kB / 0.6687 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.5018, allocations: 154.3 kB / 0.6689 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.5018, allocations: 0 / 0.6689 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004604/0.5023, allocations: 293.5 kB / 0.6691 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5024, allocations: 114 kB / 0.6693 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.5026, allocations: 199.9 kB / 0.6694 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.5026, allocations: 31.17 kB / 0.6695 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.5026, allocations: 107.1 kB / 0.6696 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.5027, allocations: 27.27 kB / 0.6696 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.5027, allocations: 23.41 kB / 0.6696 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.5028, allocations: 335.7 kB / 0.6699 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.5029, allocations: 45.45 kB / 0.67 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.5029, allocations: 75.22 kB / 0.6701 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.5031, allocations: 178.3 kB / 0.6702 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5031, allocations: 0 / 0.6702 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002717/0.5034, allocations: 242 kB / 0.6705 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.5034, allocations: 37.16 kB / 0.6705 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5034, allocations: 1.062 kB / 0.6705 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5035, allocations: 1.188 kB / 0.6705 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.5036, allocations: 6 kB / 0.6705 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.5036, allocations: 5.5 kB / 0.6705 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.5036, allocations: 11.73 kB / 0.6705 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.5037, allocations: 10.64 kB / 0.6705 GB, free: 2.891 MB / 0.4981 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 (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 (6): * Single equations (assignments): 5 * 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.0001154/0.5038, allocations: 178.5 kB / 0.6707 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.5038, allocations: 20.97 kB / 0.6707 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.504, allocations: 60.41 kB / 0.6708 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.504, allocations: 5.453 kB / 0.6708 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.504, allocations: 4 kB / 0.6708 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.504, allocations: 5.188 kB / 0.6708 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.5041, allocations: 217.3 kB / 0.671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5041, allocations: 1.156 kB / 0.671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.5042, allocations: 6.781 kB / 0.671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5042, allocations: 1.031 kB / 0.671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.5042, allocations: 4.062 kB / 0.671 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5042, allocations: 4.062 kB / 0.671 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5042, allocations: 0.9062 kB / 0.671 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.5046, allocations: 313.3 kB / 0.6713 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.5046, allocations: 101.3 kB / 0.6714 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.5047, allocations: 6.969 kB / 0.6714 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.5047, allocations: 3.688 kB / 0.6714 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.5048, allocations: 6.859 kB / 0.6714 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.5048, allocations: 8.25 kB / 0.6714 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001089/0.5049, allocations: 152.5 kB / 0.6716 GB, free: 2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5049, allocations: 4 kB / 0.6716 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002972/0.5052, allocations: 36.38 kB / 0.6716 GB, free: 1.992 MB / 0.4981 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 (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.0001778/0.5054, allocations: 126.8 kB / 0.6717 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.5057, allocations: 221.4 kB / 0.672 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5057, allocations: 0 / 0.672 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.5059, allocations: 163.6 kB / 0.6721 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.5061, allocations: 15.88 kB / 0.6721 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.5066, allocations: 320.9 kB / 0.6724 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.5068, allocations: 0.7196 MB / 0.6731 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.5068, allocations: 6.688 kB / 0.6731 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.5068, allocations: 14.91 kB / 0.6732 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5068, allocations: 0 / 0.6732 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of Templates: time 0.004622/0.5115, allocations: 1.337 MB / 0.6745 GB, free: 4 kB / 0.4981 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)