Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8006/0.8006, 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.001036/0.001037, allocations: 187.6 kB / 187.3 MB, free: 11.89 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.524/1.524, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008864/0.0008865, allocations: 98.69 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001859/0.001859, allocations: 281.7 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.04e-05/4.042e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5869/0.587, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.639/5.226, allocations: 1.692 GB / 2.456 GB, free: 86.83 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/5.226, allocations: 100.4 kB / 2.456 GB, free: 86.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1237/5.35, allocations: 59.73 MB / 2.515 GB, free: 26.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/5.35, allocations: 0 / 2.515 GB, free: 26.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.737e-05/5.35, allocations: 23.94 kB / 2.515 GB, free: 26.77 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001545/5.352, allocations: 1.086 MB / 2.516 GB, free: 25.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/5.352, allocations: 12.03 kB / 2.516 GB, free: 25.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007792/5.352, allocations: 186.6 kB / 2.516 GB, free: 25.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/5.353, allocations: 0.6152 MB / 2.517 GB, free: 24.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/5.353, allocations: 62 kB / 2.517 GB, free: 24.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/5.353, allocations: 80 kB / 2.517 GB, free: 24.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/5.354, allocations: 0.8483 MB / 2.518 GB, free: 23.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/5.354, allocations: 4 kB / 2.518 GB, free: 23.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/5.355, allocations: 36 kB / 2.518 GB, free: 23.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/5.355, allocations: 20 kB / 2.518 GB, free: 23.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/5.356, allocations: 1.054 MB / 2.519 GB, free: 22.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/5.359, allocations: 2.535 MB / 2.521 GB, free: 20.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009387/5.36, allocations: 0.7077 MB / 2.522 GB, free: 19.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/5.36, allocations: 271.2 kB / 2.522 GB, free: 19.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-05/5.36, allocations: 36.72 kB / 2.522 GB, free: 19.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005273/5.361, allocations: 426.4 kB / 2.523 GB, free: 18.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.144e-06/5.361, allocations: 0 / 2.523 GB, free: 18.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.00141/5.362, allocations: 0.707 MB / 2.523 GB, free: 17.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/5.362, allocations: 248 kB / 2.523 GB, free: 17.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/5.363, allocations: 0.5932 MB / 2.524 GB, free: 16.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/5.363, allocations: 41.7 kB / 2.524 GB, free: 16.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/5.363, allocations: 376.3 kB / 2.524 GB, free: 16.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/5.363, allocations: 256.3 kB / 2.525 GB, free: 16.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/5.363, allocations: 8 kB / 2.525 GB, free: 16.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/5.363, allocations: 386.8 kB / 2.525 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/5.364, allocations: 209.5 kB / 2.525 GB, free: 15.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/5.364, allocations: 321.1 kB / 2.526 GB, free: 15.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/5.365, allocations: 262 kB / 2.526 GB, free: 15.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/5.365, allocations: 4 kB / 2.526 GB, free: 15.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001433/5.366, allocations: 0.7226 MB / 2.527 GB, free: 14.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/5.366, allocations: 4 kB / 2.527 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/5.366, allocations: 4.062 kB / 2.527 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/5.367, allocations: 80.78 kB / 2.527 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/5.367, allocations: 155.8 kB / 2.527 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/5.369, allocations: 1.506 MB / 2.528 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/5.37, allocations: 87.44 kB / 2.528 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/5.37, allocations: 31.97 kB / 2.528 GB, free: 12.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0001898/5.37, allocations: 145 kB / 2.529 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/5.37, allocations: 79.05 kB / 2.529 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/5.372, allocations: 1.003 MB / 2.53 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/5.372, allocations: 11.98 kB / 2.53 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/5.372, allocations: 4 kB / 2.53 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/5.372, allocations: 3.984 kB / 2.53 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/5.374, allocations: 1.881 MB / 2.531 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/5.374, allocations: 8 kB / 2.531 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/5.375, allocations: 155.8 kB / 2.532 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/5.376, allocations: 84.78 kB / 2.532 GB, free: 8.895 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/5.376, allocations: 23.98 kB / 2.532 GB, free: 8.871 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/5.377, allocations: 1.536 MB / 2.533 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/5.377, allocations: 4.062 kB / 2.533 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/5.378, allocations: 0.8883 MB / 2.534 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/5.379, allocations: 287.7 kB / 2.534 GB, free: 5.977 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/5.379, allocations: 16 kB / 2.534 GB, free: 5.961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/5.379, allocations: 63.95 kB / 2.534 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/5.38, allocations: 68.62 kB / 2.534 GB, free: 5.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/5.38, allocations: 31.98 kB / 2.535 GB, free: 5.801 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004955/5.38, allocations: 491.1 kB / 2.535 GB, free: 5.324 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.38, allocations: 0 / 2.535 GB, free: 5.324 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009726/5.381, allocations: 363.2 kB / 2.535 GB, free: 4.969 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.001581/5.383, allocations: 1.028 MB / 2.536 GB, free: 4.062 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001208/5.384, allocations: 0.7059 MB / 2.537 GB, free: 3.344 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/5.384, allocations: 4 kB / 2.537 GB, free: 3.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006306/5.385, allocations: 479 kB / 2.537 GB, free: 2.855 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/5.386, allocations: 240.1 kB / 2.538 GB, free: 2.625 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/5.389, allocations: 1.355 MB / 2.539 GB, free: 1.242 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/5.389, allocations: 1.023 MB / 2.54 GB, free: 196 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.3694/5.759, allocations: 250 kB / 2.54 GB, free: 229.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/5.759, allocations: 98.7 kB / 2.54 GB, free: 229.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/5.759, allocations: 2.906 kB / 2.54 GB, free: 229.5 MB / 0.698 GB Notification: Performance of Templates: time 0.03934/5.799, allocations: 22.24 MB / 2.562 GB, free: 228.4 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)