Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8411/0.8411, allocations: 143.4 MB / 158.3 MB, free: 5.766 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.001459/0.001459, allocations: 185 kB / 191.5 MB, free: 5.746 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.467/1.467, allocations: 223.2 MB / 447.7 MB, free: 4.781 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.0009366/0.0009365, allocations: 100.3 kB / 0.5188 GB, free: 1.129 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00164/0.00164, allocations: 275.8 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.000422, allocations: 14.16 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1792, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.204/4.383, allocations: 1.692 GB / 2.466 GB, free: 61.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/4.384, allocations: 103.5 kB / 2.466 GB, free: 61.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1336/4.517, allocations: 60.44 MB / 2.525 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.948e-06/4.517, allocations: 0 / 2.525 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.715e-05/4.517, allocations: 23.94 kB / 2.525 GB, free: 10.17 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002249/4.52, allocations: 1.204 MB / 2.526 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/4.52, allocations: 8.031 kB / 2.526 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00085/4.521, allocations: 194.3 kB / 2.526 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/4.522, allocations: 0.621 MB / 2.527 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.48e-05/4.522, allocations: 65.73 kB / 2.527 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/4.522, allocations: 76.06 kB / 2.527 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/4.523, allocations: 0.8921 MB / 2.528 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/4.523, allocations: 4 kB / 2.528 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/4.523, allocations: 33.75 kB / 2.528 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/4.523, allocations: 23.94 kB / 2.528 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/4.525, allocations: 1.103 MB / 2.529 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/4.529, allocations: 2.569 MB / 2.531 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/4.531, allocations: 0.882 MB / 2.532 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.052e-05/4.531, allocations: 40.67 kB / 2.532 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007089/4.532, allocations: 443.2 kB / 2.533 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 2.184e-06/4.532, allocations: 0 / 2.533 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002904/4.534, allocations: 1.147 MB / 2.534 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/4.535, allocations: 244 kB / 2.534 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/4.535, allocations: 0.5932 MB / 2.535 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/4.535, allocations: 41.7 kB / 2.535 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/4.536, allocations: 376.3 kB / 2.535 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/4.536, allocations: 252.3 kB / 2.535 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/4.536, allocations: 12 kB / 2.535 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001066/4.536, allocations: 390.7 kB / 2.536 GB, free: 220 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4833/5.019, allocations: 224.2 kB / 2.536 GB, free: 233.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/5.021, allocations: 339.3 kB / 2.536 GB, free: 233.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007555/5.022, allocations: 274.8 kB / 2.536 GB, free: 233.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/5.022, allocations: 0 / 2.536 GB, free: 233.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002368/5.024, allocations: 0.7613 MB / 2.537 GB, free: 233.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/5.024, allocations: 5.562 kB / 2.537 GB, free: 233.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/5.024, allocations: 3.812 kB / 2.537 GB, free: 233.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007236/5.025, allocations: 80.11 kB / 2.537 GB, free: 233.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/5.025, allocations: 147.9 kB / 2.537 GB, free: 233.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/5.028, allocations: 1.524 MB / 2.539 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/5.029, allocations: 93.94 kB / 2.539 GB, free: 232.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.451e-05/5.029, allocations: 32.16 kB / 2.539 GB, free: 232.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007913/5.03, allocations: 251.5 kB / 2.539 GB, free: 232.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/5.03, allocations: 83.36 kB / 2.539 GB, free: 232.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/5.032, allocations: 1.082 MB / 2.54 GB, free: 232 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/5.032, allocations: 8.281 kB / 2.54 GB, free: 232 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/5.032, allocations: 1.219 kB / 2.54 GB, free: 232 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/5.032, allocations: 7.531 kB / 2.54 GB, free: 232 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/5.036, allocations: 1.98 MB / 2.542 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/5.036, allocations: 0 / 2.542 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/5.036, allocations: 158 kB / 2.542 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/5.037, allocations: 83.16 kB / 2.543 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/5.037, allocations: 30.59 kB / 2.543 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/5.039, allocations: 1.556 MB / 2.544 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/5.039, allocations: 0 / 2.544 GB, free: 230.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/5.041, allocations: 0.9685 MB / 2.545 GB, free: 230.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/5.042, allocations: 289.5 kB / 2.545 GB, free: 230 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/5.042, allocations: 17.52 kB / 2.545 GB, free: 230 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/5.042, allocations: 68.22 kB / 2.545 GB, free: 230 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/5.043, allocations: 69.69 kB / 2.545 GB, free: 230 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.037e-05/5.043, allocations: 33.14 kB / 2.545 GB, free: 230 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009734/5.044, allocations: 489.6 kB / 2.546 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/5.044, allocations: 0 / 2.546 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001892/5.046, allocations: 379.6 kB / 2.546 GB, free: 229.9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003004/5.049, allocations: 1.099 MB / 2.547 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002142/5.051, allocations: 0.7586 MB / 2.548 GB, free: 229.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/5.051, allocations: 2.469 kB / 2.548 GB, free: 229.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009438/5.052, allocations: 0.5154 MB / 2.549 GB, free: 229.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/5.053, allocations: 236.8 kB / 2.549 GB, free: 229.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/5.058, allocations: 2.142 MB / 2.551 GB, free: 228.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/5.058, allocations: 1.033 MB / 2.552 GB, free: 227.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001181/5.06, allocations: 263.3 kB / 2.552 GB, free: 227.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/5.06, allocations: 101.7 kB / 2.552 GB, free: 227.8 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/5.06, allocations: 0 / 2.552 GB, free: 227.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.03805/5.098, allocations: 20.74 MB / 2.573 GB, free: 226.4 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)