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.001193/0.001193, allocations: 111.3 kB / 15.99 MB, free: 6.344 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.001368/0.001369, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8727/0.8727, allocations: 135.1 MB / 425.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.89 kB / 0.5055 GB, free: 8.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.434, allocations: 80.91 MB / 0.5845 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003565/0.4376, allocations: 1.548 MB / 0.586 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.4387, allocations: 0.5822 MB / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.4389, allocations: 0 / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.4391, allocations: 78.12 kB / 0.5867 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.4393, allocations: 79.69 kB / 0.5867 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.4398, allocations: 81.61 kB / 0.5868 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.44, allocations: 102.4 kB / 0.5869 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.4401, allocations: 9.641 kB / 0.5869 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.4402, allocations: 62.7 kB / 0.587 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.4404, allocations: 85.23 kB / 0.5871 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.4404, allocations: 3.938 kB / 0.5871 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.4405, allocations: 75.83 kB / 0.5871 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.4406, allocations: 29.86 kB / 0.5872 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.4407, allocations: 44.02 kB / 0.5872 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.4408, allocations: 98.08 kB / 0.5873 GB, free: 23.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4409, allocations: 1.562 kB / 0.5873 GB, free: 23.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4409, allocations: 3.938 kB / 0.5873 GB, free: 23.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.4409, allocations: 1.031 kB / 0.5873 GB, free: 23.09 MB / 446.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.0005023/0.4414, allocations: 451.9 kB / 0.5877 GB, free: 22.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4414, allocations: 11.61 kB / 0.5878 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.4415, allocations: 15.59 kB / 0.5878 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.4417, allocations: 210.3 kB / 0.588 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4417, allocations: 3.469 kB / 0.588 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.4417, allocations: 3.219 kB / 0.588 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.4419, allocations: 109.8 kB / 0.5881 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4419, allocations: 0 / 0.5881 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4419, allocations: 3.219 kB / 0.5881 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.4419, allocations: 1.031 kB / 0.5881 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.442, allocations: 66.7 kB / 0.5882 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.4424, allocations: 295.6 kB / 0.5884 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.4425, allocations: 99.44 kB / 0.5885 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.639e-05/0.4426, allocations: 77.27 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.4426, allocations: 1.812 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.4429, allocations: 156.5 kB / 0.5888 GB, free: 21.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.4429, allocations: 1.156 kB / 0.5888 GB, free: 21.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004454/0.4434, allocations: 293.8 kB / 0.589 GB, free: 21.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.4434, allocations: 113.5 kB / 0.5891 GB, free: 21.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.4436, allocations: 199.5 kB / 0.5893 GB, free: 21.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.4436, allocations: 27.02 kB / 0.5894 GB, free: 21.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.4437, allocations: 117.7 kB / 0.5895 GB, free: 21.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.4437, allocations: 32.19 kB / 0.5895 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.4438, allocations: 23.59 kB / 0.5895 GB, free: 21.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.4438, allocations: 327.4 kB / 0.5898 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.4439, allocations: 55.53 kB / 0.5899 GB, free: 20.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.444, allocations: 67.28 kB / 0.59 GB, free: 20.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.4442, allocations: 182.9 kB / 0.5901 GB, free: 20.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4442, allocations: 0.875 kB / 0.5901 GB, free: 20.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002688/0.4444, allocations: 239.2 kB / 0.5904 GB, free: 20.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.4445, allocations: 42.81 kB / 0.5904 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4445, allocations: 0 / 0.5904 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4445, allocations: 0 / 0.5904 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/0.4446, allocations: 8.625 kB / 0.5904 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4446, allocations: 1.844 kB / 0.5904 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/0.4447, allocations: 7.906 kB / 0.5904 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4447, allocations: 7.984 kB / 0.5904 GB, free: 20.41 MB / 446.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 (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.000108/0.4448, allocations: 174.2 kB / 0.5906 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.4449, allocations: 15.89 kB / 0.5906 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.445, allocations: 72.66 kB / 0.5907 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.445, allocations: 0 / 0.5907 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.445, allocations: 4.062 kB / 0.5907 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.445, allocations: 3.984 kB / 0.5907 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.4451, allocations: 215 kB / 0.5909 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4451, allocations: 4 kB / 0.5909 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.4452, allocations: 4 kB / 0.5909 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.4452, allocations: 4 kB / 0.5909 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4452, allocations: 5.812 kB / 0.5909 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4452, allocations: 4 kB / 0.5909 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4452, allocations: 0 / 0.5909 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.4455, allocations: 305 kB / 0.5912 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.4456, allocations: 104.9 kB / 0.5913 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.4456, allocations: 8 kB / 0.5913 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.4457, allocations: 5.688 kB / 0.5913 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.4457, allocations: 4 kB / 0.5913 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.4457, allocations: 7.984 kB / 0.5913 GB, free: 19.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.4458, allocations: 154 kB / 0.5915 GB, free: 19.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4458, allocations: 0 / 0.5915 GB, free: 19.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.4461, allocations: 39.44 kB / 0.5915 GB, free: 19.21 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 (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.000167/0.4462, allocations: 135.2 kB / 0.5916 GB, free: 19.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.4465, allocations: 223.2 kB / 0.5918 GB, free: 18.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4465, allocations: 0 / 0.5918 GB, free: 18.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.556e-05/0.4466, allocations: 151.7 kB / 0.592 GB, free: 18.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.4468, allocations: 15.92 kB / 0.592 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.4473, allocations: 375.3 kB / 0.5924 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.4474, allocations: 0.7211 MB / 0.5931 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.4475, allocations: 11.38 kB / 0.5931 GB, free: 17.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4475, allocations: 0 / 0.5931 GB, free: 17.5 MB / 446.1 MB Notification: Performance of Templates: time 0.003115/0.4506, allocations: 1.565 MB / 0.5946 GB, free: 16.01 MB / 446.1 MB 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)