Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8038/0.8038, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 176.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009536/0.0009535, allocations: 89.78 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 282.9 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.407e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5708/0.5708, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.7237, allocations: 109.4 MB / 0.8642 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.724, allocations: 87.81 kB / 0.8643 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008976/0.733, allocations: 3.248 MB / 0.8674 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.823e-06/0.733, allocations: 0 / 0.8674 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.733, allocations: 3.938 kB / 0.8674 GB, free: 15.15 MB / 0.5417 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.0004141/0.7334, allocations: 427.8 kB / 0.8678 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7335, allocations: 12.03 kB / 0.8678 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.7336, allocations: 11.81 kB / 0.8679 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.7338, allocations: 227.5 kB / 0.8681 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.7339, allocations: 7.953 kB / 0.8681 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.7339, allocations: 4 kB / 0.8681 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001486/0.734, allocations: 71.95 kB / 0.8682 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.7342, allocations: 123.3 kB / 0.8683 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7342, allocations: 3.938 kB / 0.8683 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.7343, allocations: 0 / 0.8683 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.7343, allocations: 0 / 0.8683 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.7347, allocations: 373.6 kB / 0.8686 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.7348, allocations: 105.1 kB / 0.8687 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.7349, allocations: 93.72 kB / 0.8688 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.735, allocations: 4 kB / 0.8688 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.7352, allocations: 174.8 kB / 0.869 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.7352, allocations: 0 / 0.869 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0005419/0.7358, allocations: 271 kB / 0.8693 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.7358, allocations: 102.8 kB / 0.8694 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.736, allocations: 178.3 kB / 0.8695 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.736, allocations: 29.73 kB / 0.8695 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/0.7361, allocations: 112.1 kB / 0.8697 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.7362, allocations: 27.64 kB / 0.8697 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.7362, allocations: 4 kB / 0.8697 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7363, allocations: 326.8 kB / 0.87 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.7364, allocations: 63.97 kB / 0.8701 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.28e-05/0.7365, allocations: 81.69 kB / 0.8701 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.7366, allocations: 80.56 kB / 0.8702 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7366, allocations: 7.891 kB / 0.8702 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003875/0.737, allocations: 269.3 kB / 0.8705 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.7371, allocations: 37.7 kB / 0.8705 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7371, allocations: 96 / 0.8705 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7371, allocations: 3.984 kB / 0.8705 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.7372, allocations: 15.92 kB / 0.8705 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.7372, allocations: 0 / 0.8705 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/0.7373, allocations: 4 kB / 0.8705 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.7373, allocations: 8 kB / 0.8705 GB, free: 11.69 MB / 0.5417 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.0001089/0.7374, allocations: 144.1 kB / 0.8707 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.7375, allocations: 23.77 kB / 0.8707 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.7376, allocations: 59.52 kB / 0.8708 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7376, allocations: 4 kB / 0.8708 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7376, allocations: 0 / 0.8708 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.7377, allocations: 0 / 0.8708 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.7378, allocations: 198.1 kB / 0.871 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7378, allocations: 0 / 0.871 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.7379, allocations: 19.92 kB / 0.871 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.7379, allocations: 3.953 kB / 0.871 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.7379, allocations: 4 kB / 0.871 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.7379, allocations: 0 / 0.871 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.7379, allocations: 4 kB / 0.871 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.7384, allocations: 328.9 kB / 0.8713 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.7385, allocations: 116.9 kB / 0.8714 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.7386, allocations: 11.98 kB / 0.8714 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.7386, allocations: 4 kB / 0.8714 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.7387, allocations: 4 kB / 0.8714 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.7387, allocations: 11.98 kB / 0.8714 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001131/0.7388, allocations: 149.2 kB / 0.8716 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7388, allocations: 3.938 kB / 0.8716 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002398/0.7391, allocations: 40 kB / 0.8716 GB, free: 10.48 MB / 0.5417 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.0002325/0.7393, allocations: 140.2 kB / 0.8718 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.7396, allocations: 203.4 kB / 0.872 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7396, allocations: 0 / 0.872 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.7398, allocations: 147.3 kB / 0.8721 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.7399, allocations: 12.12 kB / 0.8721 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.7404, allocations: 233.6 kB / 0.8723 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.7407, allocations: 0.7236 MB / 0.873 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.7407, allocations: 0 / 0.873 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.7408, allocations: 11.44 kB / 0.873 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.7408, allocations: 0 / 0.873 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of Templates: time 0.003692/0.7445, allocations: 1.192 MB / 0.8742 GB, free: 7.793 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)