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.008617/0.008617, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.00238/0.00238, allocations: 195.3 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8466/0.8466, allocations: 135.6 MB / 426.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 64.31 kB / 0.5862 GB, free: 21.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2164, allocations: 81.03 MB / 0.6653 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003064/0.2195, allocations: 1.473 MB / 0.6668 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2207, allocations: 0.5805 MB / 0.6673 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.2208, allocations: 3.938 kB / 0.6674 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.221, allocations: 75.81 kB / 0.6674 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.2212, allocations: 79.81 kB / 0.6675 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.2217, allocations: 98.66 kB / 0.6676 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.2219, allocations: 99.8 kB / 0.6677 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.222, allocations: 4 kB / 0.6677 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2222, allocations: 59.86 kB / 0.6677 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.2224, allocations: 91.78 kB / 0.6678 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.2224, allocations: 4 kB / 0.6678 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.2226, allocations: 79.86 kB / 0.6679 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.2227, allocations: 27.86 kB / 0.6679 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.2227, allocations: 51.67 kB / 0.668 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.223, allocations: 139.4 kB / 0.6681 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2231, allocations: 4 kB / 0.6681 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2231, allocations: 0 / 0.6681 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.2231, allocations: 0 / 0.6681 GB, free: 2.285 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.0006788/0.2238, allocations: 452.4 kB / 0.6686 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2238, allocations: 13.11 kB / 0.6686 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.2239, allocations: 12.84 kB / 0.6686 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.2242, allocations: 216.9 kB / 0.6688 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2242, allocations: 384 / 0.6688 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2242, allocations: 8.312 kB / 0.6688 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.2244, allocations: 107.7 kB / 0.6689 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2245, allocations: 4 kB / 0.6689 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.2245, allocations: 0 / 0.6689 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2245, allocations: 4 kB / 0.6689 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.2246, allocations: 59.91 kB / 0.669 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.2251, allocations: 297.7 kB / 0.6693 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2253, allocations: 105.2 kB / 0.6694 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2254, allocations: 73.69 kB / 0.6694 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.2254, allocations: 7.984 kB / 0.6694 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.2257, allocations: 142.8 kB / 0.6696 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.2257, allocations: 0 / 0.6696 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004971/0.2262, allocations: 303.2 kB / 0.6699 GB, free: 304 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/0.2263, allocations: 106.8 kB / 0.67 GB, free: 172 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.2265, allocations: 199.2 kB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.2265, allocations: 33.7 kB / 0.6702 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.2266, allocations: 108.1 kB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.2267, allocations: 27.75 kB / 0.6703 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2268, allocations: 29.7 kB / 0.6703 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002816/0.2271, allocations: 334.9 kB / 0.6707 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.2272, allocations: 59.91 kB / 0.6707 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.2273, allocations: 65.7 kB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.2275, allocations: 181 kB / 0.6709 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2276, allocations: 0 / 0.6709 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003334/0.2279, allocations: 243.2 kB / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.228, allocations: 37.69 kB / 0.6712 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.228, allocations: 0 / 0.6712 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.228, allocations: 4.031 kB / 0.6712 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2281, allocations: 8 kB / 0.6712 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2281, allocations: 3.938 kB / 0.6712 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/0.2282, allocations: 4 kB / 0.6712 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.2283, allocations: 8 kB / 0.6712 GB, free: 14.77 MB / 0.5137 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.0002228/0.2285, allocations: 175.5 kB / 0.6714 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.2285, allocations: 15.91 kB / 0.6714 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.2288, allocations: 67.08 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2288, allocations: 4 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2288, allocations: 0 / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2288, allocations: 0 / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.2291, allocations: 213.5 kB / 0.6717 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2291, allocations: 3.984 kB / 0.6717 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.2292, allocations: 15.94 kB / 0.6717 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2292, allocations: 3.938 kB / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.2292, allocations: 4 kB / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2292, allocations: 0 / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2292, allocations: 4 kB / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.2297, allocations: 307.7 kB / 0.672 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2298, allocations: 97 kB / 0.6721 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.2298, allocations: 11.98 kB / 0.6721 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.306e-05/0.2299, allocations: 4 kB / 0.6721 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.23, allocations: 7.922 kB / 0.6721 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.23, allocations: 11.94 kB / 0.6721 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001521/0.2301, allocations: 161.1 kB / 0.6723 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2301, allocations: 4 kB / 0.6723 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002466/0.2304, allocations: 35.94 kB / 0.6723 GB, free: 13.54 MB / 0.5137 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.0002433/0.2306, allocations: 127.3 kB / 0.6725 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.2311, allocations: 223.2 kB / 0.6727 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.2312, allocations: 3.938 kB / 0.6727 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.2314, allocations: 155.3 kB / 0.6728 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.2317, allocations: 19.81 kB / 0.6728 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.2323, allocations: 311.8 kB / 0.6731 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.2328, allocations: 0.7196 MB / 0.6738 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.682e-05/0.2328, allocations: 7.984 kB / 0.6739 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.2329, allocations: 11.44 kB / 0.6739 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.2329, allocations: 0 / 0.6739 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.004961/0.2378, allocations: 1.35 MB / 0.6752 GB, free: 10.54 MB / 0.5137 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)