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.9728/0.9728, 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.001096/0.001096, allocations: 180.9 kB / 182.2 MB, free: 9.426 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.507/1.507, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009862/0.0009862, allocations: 91.73 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001988, allocations: 285.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.804e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4853, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.222/0.7074, allocations: 109.4 MB / 0.8642 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004144/0.7079, allocations: 87.83 kB / 0.8642 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.724, allocations: 3.244 MB / 0.8674 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.094e-06/0.724, allocations: 0 / 0.8674 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.7241, allocations: 0 / 0.8674 GB, free: 15.18 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.0006324/0.7247, allocations: 431.7 kB / 0.8678 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.7248, allocations: 12.03 kB / 0.8678 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.7249, allocations: 15.81 kB / 0.8679 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.7253, allocations: 215.6 kB / 0.8681 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.7253, allocations: 3.953 kB / 0.8681 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.7254, allocations: 8 kB / 0.8681 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002582/0.7256, allocations: 75.91 kB / 0.8681 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.726, allocations: 127.3 kB / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.726, allocations: 0 / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.726, allocations: 0 / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.726, allocations: 0 / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.7267, allocations: 369.6 kB / 0.8686 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.7269, allocations: 117 kB / 0.8687 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.7272, allocations: 85.8 kB / 0.8688 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.7272, allocations: 0 / 0.8688 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003515/0.7276, allocations: 178.7 kB / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.983e-06/0.7276, allocations: 3.938 kB / 0.869 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.000961/0.7286, allocations: 267 kB / 0.8692 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.7287, allocations: 110.8 kB / 0.8693 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.7289, allocations: 174.3 kB / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.729, allocations: 29.7 kB / 0.8695 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.7291, allocations: 112.1 kB / 0.8696 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.7292, allocations: 31.58 kB / 0.8697 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.7292, allocations: 4 kB / 0.8697 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.7294, allocations: 322.8 kB / 0.87 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.7296, allocations: 67.97 kB / 0.8701 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.7298, allocations: 81.67 kB / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.73, allocations: 68.64 kB / 0.8702 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.73, allocations: 3.953 kB / 0.8702 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007226/0.7308, allocations: 277.3 kB / 0.8705 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/0.7308, allocations: 37.69 kB / 0.8705 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7309, allocations: 0 / 0.8705 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7309, allocations: 0 / 0.8705 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.731, allocations: 8 kB / 0.8705 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.731, allocations: 0 / 0.8705 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.7312, allocations: 4 kB / 0.8705 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.7312, allocations: 11.98 kB / 0.8705 GB, free: 11.72 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.0001704/0.7314, allocations: 142.7 kB / 0.8707 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.7315, allocations: 19.77 kB / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.7317, allocations: 71.45 kB / 0.8707 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7317, allocations: 0 / 0.8707 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.7318, allocations: 144 / 0.8707 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.7318, allocations: 3.984 kB / 0.8708 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.7321, allocations: 202.2 kB / 0.8709 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.7321, allocations: 0 / 0.8709 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/0.7322, allocations: 8 kB / 0.871 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.7322, allocations: 7.953 kB / 0.871 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.7322, allocations: 7.938 kB / 0.871 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.7322, allocations: 4 kB / 0.871 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7323, allocations: 0 / 0.871 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/0.7332, allocations: 336.8 kB / 0.8713 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.7334, allocations: 116.8 kB / 0.8714 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.7334, allocations: 8 kB / 0.8714 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.7336, allocations: 4 kB / 0.8714 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.7336, allocations: 7.984 kB / 0.8714 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.7337, allocations: 12 kB / 0.8714 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001927/0.7339, allocations: 149.1 kB / 0.8716 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7339, allocations: 0 / 0.8716 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004432/0.7344, allocations: 44 kB / 0.8716 GB, free: 10.5 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.0003089/0.7347, allocations: 138.4 kB / 0.8718 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.7351, allocations: 211.3 kB / 0.872 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7351, allocations: 0 / 0.872 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.7354, allocations: 143.4 kB / 0.8721 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.7356, allocations: 8.781 kB / 0.8721 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006692/0.7363, allocations: 227.2 kB / 0.8723 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.7369, allocations: 0.7275 MB / 0.873 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.311e-05/0.7369, allocations: 4 kB / 0.873 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.737, allocations: 7.438 kB / 0.873 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.737, allocations: 0 / 0.873 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of Templates: time 0.006011/0.743, allocations: 1.201 MB / 0.8742 GB, free: 7.812 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)