Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.779/0.779, allocations: 127.4 MB / 134.9 MB, free: 3.469 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 182.3 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.2 MB / 399.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 82.48 kB / 476.7 MB, free: 1.543 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.271e-05, allocations: 3.125 kB / 0.5466 GB, free: 95.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2223, allocations: 76.77 MB / 0.6215 GB, free: 43.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.126/5.348, allocations: 2.148 GB / 2.769 GB, free: 188.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/5.348, allocations: 87.67 kB / 2.769 GB, free: 188.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2433/5.592, allocations: 90.63 MB / 2.858 GB, free: 151 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.373e-06/5.592, allocations: 0 / 2.858 GB, free: 151 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.179e-05/5.592, allocations: 32 kB / 2.858 GB, free: 151 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.001959/5.594, allocations: 1.334 MB / 2.859 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/5.594, allocations: 8.031 kB / 2.859 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/5.596, allocations: 361.3 kB / 2.86 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008918/5.597, allocations: 0.695 MB / 2.86 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/5.597, allocations: 47.95 kB / 2.86 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/5.597, allocations: 87.92 kB / 2.86 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001707/5.599, allocations: 1.364 MB / 2.862 GB, free: 147.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/5.6, allocations: 1.134 MB / 2.863 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/5.6, allocations: 4 kB / 2.863 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/5.6, allocations: 0 / 2.863 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/5.6, allocations: 32 kB / 2.863 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/5.606, allocations: 3.342 MB / 2.866 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/5.607, allocations: 0.8759 MB / 2.867 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/5.607, allocations: 368.7 kB / 2.867 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/5.608, allocations: 487.3 kB / 2.868 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007555/5.609, allocations: 0.5589 MB / 2.868 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 2.385e-06/5.609, allocations: 4 kB / 2.868 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=104): time 0.004961/5.613, allocations: 1.28 MB / 2.87 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/5.614, allocations: 167.5 kB / 2.87 GB, free: 141 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/5.614, allocations: 0.5464 MB / 2.87 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/5.614, allocations: 29.7 kB / 2.87 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000305/5.615, allocations: 0.5232 MB / 2.871 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/5.615, allocations: 331 kB / 2.871 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/5.615, allocations: 0 / 2.871 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/5.615, allocations: 382.8 kB / 2.872 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/5.615, allocations: 306.6 kB / 2.872 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/5.616, allocations: 409.6 kB / 2.872 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/5.619, allocations: 0.7361 MB / 2.873 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/5.619, allocations: 7.953 kB / 2.873 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004738/5.624, allocations: 1.336 MB / 2.874 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/5.624, allocations: 8 kB / 2.874 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/5.624, allocations: 0 / 2.874 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/5.625, allocations: 84.84 kB / 2.874 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/5.626, allocations: 231.6 kB / 2.875 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/5.627, allocations: 1.469 MB / 2.876 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008505/5.628, allocations: 79.22 kB / 2.876 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/5.628, allocations: 47.95 kB / 2.876 GB, free: 134.4 MB / 0.6511 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0001902/5.628, allocations: 123 kB / 2.876 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/5.628, allocations: 82.97 kB / 2.876 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005649/5.634, allocations: 1.655 MB / 2.878 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/5.634, allocations: 12 kB / 2.878 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/5.634, allocations: 3.953 kB / 2.878 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/5.634, allocations: 7.969 kB / 2.878 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006287/5.64, allocations: 2.658 MB / 2.881 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/5.641, allocations: 4 kB / 2.881 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009014/5.641, allocations: 203.7 kB / 2.881 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/5.642, allocations: 76.78 kB / 2.881 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/5.642, allocations: 31.91 kB / 2.881 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/5.643, allocations: 1.488 MB / 2.882 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/5.643, allocations: 4.031 kB / 2.882 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004756/5.648, allocations: 1.434 MB / 2.884 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004408/5.649, allocations: 351.4 kB / 2.884 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/5.649, allocations: 3.953 kB / 2.884 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00073/5.65, allocations: 55.94 kB / 2.884 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/5.65, allocations: 73.2 kB / 2.884 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/5.65, allocations: 35.98 kB / 2.884 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004907/5.65, allocations: 479.1 kB / 2.885 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/5.65, allocations: 4 kB / 2.885 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001151/5.651, allocations: 426.3 kB / 2.885 GB, free: 125 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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.001498/5.653, allocations: 1.047 MB / 2.886 GB, free: 124 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001345/5.654, allocations: 0.9138 MB / 2.887 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/5.654, allocations: 0 / 2.887 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007207/5.655, allocations: 0.5573 MB / 2.888 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008993/5.656, allocations: 194.2 kB / 2.888 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/5.659, allocations: 1.716 MB / 2.889 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/5.66, allocations: 1.164 MB / 2.891 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001055/5.661, allocations: 286.8 kB / 2.891 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/5.661, allocations: 119.4 kB / 2.891 GB, free: 119 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/5.661, allocations: 0 / 2.891 GB, free: 119 MB / 0.6511 GB Notification: Performance of Templates: time 0.02529/5.687, allocations: 17.68 MB / 2.908 GB, free: 101.3 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)