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.88/0.88, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 180.1 kB / 187.3 MB, free: 11.9 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.579/1.579, allocations: 221.3 MB / 441.4 MB, free: 4.668 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.001081/0.001081, allocations: 95.86 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 266.8 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.624e-05, allocations: 0 / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5783/0.5783, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.7273, allocations: 110 MB / 0.8717 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.7276, allocations: 87.52 kB / 0.8718 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.009332/0.737, allocations: 3.258 MB / 0.875 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/0.737, allocations: 3.938 kB / 0.875 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.737, allocations: 4 kB / 0.875 GB, free: 11.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.0004667/0.7375, allocations: 427.7 kB / 0.8754 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.7376, allocations: 8.031 kB / 0.8754 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.7376, allocations: 11.91 kB / 0.8754 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.738, allocations: 215.6 kB / 0.8756 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.738, allocations: 15.95 kB / 0.8756 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.738, allocations: 4 kB / 0.8757 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.7383, allocations: 127.3 kB / 0.8758 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.7383, allocations: 0 / 0.8758 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.7383, allocations: 0 / 0.8758 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.7384, allocations: 4 kB / 0.8758 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.7385, allocations: 75.95 kB / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.7391, allocations: 400.9 kB / 0.8762 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.7392, allocations: 113.8 kB / 0.8763 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.7394, allocations: 97.72 kB / 0.8764 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.7394, allocations: 0 / 0.8764 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.7397, allocations: 174.8 kB / 0.8766 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.7397, allocations: 0 / 0.8766 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0005805/0.7403, allocations: 304.7 kB / 0.8769 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.7403, allocations: 102.8 kB / 0.877 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.7405, allocations: 190.1 kB / 0.8772 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.7406, allocations: 33.73 kB / 0.8772 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.7407, allocations: 108.1 kB / 0.8773 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.7407, allocations: 27.66 kB / 0.8773 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.7407, allocations: 0 / 0.8773 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7409, allocations: 334.8 kB / 0.8777 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.741, allocations: 67.97 kB / 0.8777 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.7411, allocations: 81.62 kB / 0.8778 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.7412, allocations: 109.5 kB / 0.8779 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7412, allocations: 4 kB / 0.8779 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004097/0.7417, allocations: 303 kB / 0.8782 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.7417, allocations: 37.69 kB / 0.8782 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7417, allocations: 0 / 0.8782 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7417, allocations: 4 kB / 0.8782 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.7418, allocations: 8.094 kB / 0.8782 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7418, allocations: 4 kB / 0.8782 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.578e-05/0.7419, allocations: 7.984 kB / 0.8782 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.742, allocations: 11.98 kB / 0.8783 GB, free: 7.539 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.0001119/0.7421, allocations: 146.7 kB / 0.8784 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.7421, allocations: 19.8 kB / 0.8784 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.7423, allocations: 63.16 kB / 0.8785 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7423, allocations: 4 kB / 0.8785 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7423, allocations: 0 / 0.8785 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.7423, allocations: 3.984 kB / 0.8785 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.7425, allocations: 225.5 kB / 0.8787 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7425, allocations: 4 kB / 0.8787 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/0.7426, allocations: 16.05 kB / 0.8787 GB, free: 7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.7426, allocations: 4 kB / 0.8787 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.7426, allocations: 4 kB / 0.8787 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7426, allocations: 3.938 kB / 0.8787 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7426, allocations: 0 / 0.8787 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.7432, allocations: 378.5 kB / 0.8791 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.7433, allocations: 116.9 kB / 0.8792 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.7434, allocations: 7.984 kB / 0.8792 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.7434, allocations: 4 kB / 0.8792 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.7435, allocations: 4 kB / 0.8792 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.7435, allocations: 11.98 kB / 0.8792 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000123/0.7436, allocations: 153.2 kB / 0.8794 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7436, allocations: 0 / 0.8794 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002422/0.7439, allocations: 48 kB / 0.8794 GB, free: 6.227 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.0002215/0.7441, allocations: 137.7 kB / 0.8796 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.7444, allocations: 223.3 kB / 0.8798 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7444, allocations: 3.938 kB / 0.8798 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.7446, allocations: 147.3 kB / 0.8799 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.7447, allocations: 12.14 kB / 0.8799 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.7452, allocations: 243.5 kB / 0.8802 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.7455, allocations: 0.7197 MB / 0.8809 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.7455, allocations: 0 / 0.8809 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.7456, allocations: 19.42 kB / 0.8809 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.7456, allocations: 0 / 0.8809 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of Templates: time 0.003911/0.7495, allocations: 1.214 MB / 0.8821 GB, free: 3.488 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)