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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008914/0.0008914, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001102/0.001102, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7181/0.7181, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002991, allocations: 8 kB / 0.5034 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3386, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001317/0.3399, allocations: 1.192 MB / 0.5842 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007854/0.3407, allocations: 0.5514 MB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.3408, allocations: 4.625 kB / 0.5848 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.3409, allocations: 65.31 kB / 0.5848 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.3411, allocations: 82.59 kB / 0.5849 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.3414, allocations: 70.44 kB / 0.585 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3416, allocations: 78.42 kB / 0.5851 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.717e-05/0.3416, allocations: 5.734 kB / 0.5851 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3418, allocations: 56.17 kB / 0.5851 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3419, allocations: 75.22 kB / 0.5852 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3419, allocations: 5.312 kB / 0.5852 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.3421, allocations: 64.61 kB / 0.5853 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.3421, allocations: 26.45 kB / 0.5853 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.3422, allocations: 44.83 kB / 0.5853 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.3423, allocations: 88.69 kB / 0.5854 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3423, allocations: 0 / 0.5854 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3423, allocations: 0.7969 kB / 0.5854 GB, free: 2.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.3423, allocations: 5.969 kB / 0.5854 GB, free: 2.547 MB / 430.1 MB 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.0003911/0.3427, allocations: 432.3 kB / 0.5858 GB, free: 2.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.3428, allocations: 10.12 kB / 0.5858 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.3428, allocations: 14.19 kB / 0.5859 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.343, allocations: 202.9 kB / 0.5861 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.343, allocations: 2.188 kB / 0.5861 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.343, allocations: 6.875 kB / 0.5861 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3432, allocations: 108.7 kB / 0.5862 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3432, allocations: 5.172 kB / 0.5862 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3432, allocations: 0.9375 kB / 0.5862 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3432, allocations: 1 kB / 0.5862 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.078e-05/0.3433, allocations: 61.42 kB / 0.5862 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.3436, allocations: 303.5 kB / 0.5865 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3437, allocations: 95.61 kB / 0.5866 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.3438, allocations: 75.3 kB / 0.5867 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3439, allocations: 1.891 kB / 0.5867 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.3441, allocations: 165.6 kB / 0.5868 GB, free: 1.262 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.3441, allocations: 0 / 0.5868 GB, free: 1.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004097/0.3445, allocations: 294.9 kB / 0.5871 GB, free: 1.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.3445, allocations: 111.2 kB / 0.5872 GB, free: 1.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3447, allocations: 204.4 kB / 0.5874 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3447, allocations: 27.23 kB / 0.5875 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.3448, allocations: 110.9 kB / 0.5876 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.3448, allocations: 24.86 kB / 0.5876 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.3448, allocations: 0.5938 kB / 0.5876 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.3449, allocations: 328.7 kB / 0.5879 GB, free: 428 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.3449, allocations: 56.06 kB / 0.5879 GB, free: 412 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.345, allocations: 65.52 kB / 0.588 GB, free: 384 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.646e-05/0.3451, allocations: 81.22 kB / 0.5881 GB, free: 336 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3451, allocations: 0.7031 kB / 0.5881 GB, free: 336 kB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000261/0.3454, allocations: 241.6 kB / 0.5883 GB, free: 224 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.3454, allocations: 35.5 kB / 0.5884 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3454, allocations: 5.188 kB / 0.5884 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3454, allocations: 1.422 kB / 0.5884 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.3455, allocations: 7.5 kB / 0.5884 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3455, allocations: 5.141 kB / 0.5884 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.3456, allocations: 8.375 kB / 0.5884 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3456, allocations: 4.438 kB / 0.5884 GB, free: 180 kB / 430.1 MB 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.0001059/0.3457, allocations: 183.2 kB / 0.5886 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.3458, allocations: 16.09 kB / 0.5886 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.3459, allocations: 71.3 kB / 0.5886 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3459, allocations: 2.344 kB / 0.5886 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3459, allocations: 0 / 0.5886 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.346, allocations: 6.016 kB / 0.5886 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3461, allocations: 209.4 kB / 0.5888 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3462, allocations: 1.781 kB / 0.5889 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.3462, allocations: 6.625 kB / 0.5889 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3462, allocations: 6.234 kB / 0.5889 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3462, allocations: 8.359 kB / 0.5889 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3462, allocations: 4 kB / 0.5889 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3463, allocations: 4.906 kB / 0.5889 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.3466, allocations: 309.5 kB / 0.5892 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.3467, allocations: 102.9 kB / 0.5893 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.3467, allocations: 7.094 kB / 0.5893 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.3468, allocations: 3.938 kB / 0.5893 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.3469, allocations: 9.625 kB / 0.5893 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.3469, allocations: 4.188 kB / 0.5893 GB, free: 15.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.347, allocations: 158.5 kB / 0.5894 GB, free: 15.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.347, allocations: 1.188 kB / 0.5894 GB, free: 15.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3473, allocations: 36.75 kB / 0.5895 GB, free: 15.35 MB / 446.1 MB 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.0001884/0.3475, allocations: 132.9 kB / 0.5896 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.3478, allocations: 212.7 kB / 0.5898 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3478, allocations: 4.062 kB / 0.5898 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.3479, allocations: 156.4 kB / 0.59 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.3482, allocations: 10.84 kB / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.3487, allocations: 334.9 kB / 0.5903 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.349, allocations: 0.7209 MB / 0.591 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.112e-05/0.349, allocations: 4.109 kB / 0.591 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.349, allocations: 14 kB / 0.591 GB, free: 14.11 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.349, allocations: 0 / 0.591 GB, free: 14.11 MB / 446.1 MB Notification: Performance of Templates: time 0.003905/0.3529, allocations: 1.228 MB / 0.5922 GB, free: 13.97 MB / 446.1 MB 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)