Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8343/0.8343, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 185.3 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009162/0.0009162, allocations: 82.36 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00174/0.00174, allocations: 269.7 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000575/0.0005751, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4282, allocations: 79.31 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.911/5.339, allocations: 2.043 GB / 2.783 GB, free: 165.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/5.339, allocations: 93.03 kB / 2.783 GB, free: 165.6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1924/5.532, allocations: 93.82 MB / 2.875 GB, free: 71.35 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.255e-06/5.532, allocations: 0 / 2.875 GB, free: 71.35 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001244/5.532, allocations: 36 kB / 2.875 GB, free: 71.31 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003579/5.535, allocations: 1.487 MB / 2.876 GB, free: 69.77 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/5.535, allocations: 8.031 kB / 2.876 GB, free: 69.76 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/5.537, allocations: 246.9 kB / 2.876 GB, free: 69.52 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/5.539, allocations: 0.7995 MB / 2.877 GB, free: 68.68 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.849e-05/5.539, allocations: 107.1 kB / 2.877 GB, free: 68.57 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/5.539, allocations: 132.4 kB / 2.877 GB, free: 68.44 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/5.542, allocations: 1.384 MB / 2.879 GB, free: 67 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/5.542, allocations: 4.125 kB / 2.879 GB, free: 67 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/5.542, allocations: 63.94 kB / 2.879 GB, free: 66.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/5.542, allocations: 36 kB / 2.879 GB, free: 66.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/5.544, allocations: 1.47 MB / 2.88 GB, free: 65.42 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00595/5.55, allocations: 3.599 MB / 2.884 GB, free: 61.75 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/5.552, allocations: 0.9551 MB / 2.885 GB, free: 60.79 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/5.552, allocations: 407.6 kB / 2.885 GB, free: 60.39 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.793e-05/5.552, allocations: 49.06 kB / 2.885 GB, free: 60.34 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008287/5.553, allocations: 0.5903 MB / 2.886 GB, free: 59.73 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=104): time 2.955e-06/5.553, allocations: 3.938 kB / 2.886 GB, free: 59.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=104): time 0.003056/5.556, allocations: 1.485 MB / 2.887 GB, free: 58.21 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/5.556, allocations: 244.3 kB / 2.887 GB, free: 57.92 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008716/5.557, allocations: 0.802 MB / 2.888 GB, free: 57.11 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/5.557, allocations: 53.69 kB / 2.888 GB, free: 57.05 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/5.558, allocations: 0.5543 MB / 2.889 GB, free: 56.49 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/5.558, allocations: 343 kB / 2.889 GB, free: 56.15 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/5.558, allocations: 20 kB / 2.889 GB, free: 56.13 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/5.558, allocations: 345.9 kB / 2.889 GB, free: 55.79 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/5.559, allocations: 341.8 kB / 2.89 GB, free: 55.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/5.559, allocations: 467.4 kB / 2.89 GB, free: 54.96 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/5.56, allocations: 0.803 MB / 2.891 GB, free: 54.15 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/5.56, allocations: 0 / 2.891 GB, free: 54.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00189/5.562, allocations: 1.059 MB / 2.892 GB, free: 53.08 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/5.562, allocations: 7.984 kB / 2.892 GB, free: 53.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/5.562, allocations: 4.062 kB / 2.892 GB, free: 53.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/5.563, allocations: 84.72 kB / 2.892 GB, free: 52.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/5.564, allocations: 215.7 kB / 2.892 GB, free: 52.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/5.565, allocations: 1.532 MB / 2.894 GB, free: 51.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/5.566, allocations: 111.1 kB / 2.894 GB, free: 50.99 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/5.566, allocations: 43.97 kB / 2.894 GB, free: 50.95 MB / 0.6667 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 () * Number of clocked 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.0005402/5.567, allocations: 305.6 kB / 2.894 GB, free: 50.64 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/5.567, allocations: 106.6 kB / 2.894 GB, free: 50.53 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/5.57, allocations: 1.4 MB / 2.896 GB, free: 49.11 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/5.57, allocations: 12 kB / 2.896 GB, free: 49.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/5.57, allocations: 4 kB / 2.896 GB, free: 49.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/5.57, allocations: 7.969 kB / 2.896 GB, free: 49.09 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/5.573, allocations: 2.613 MB / 2.898 GB, free: 46.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/5.573, allocations: 0 / 2.898 GB, free: 46.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006728/5.574, allocations: 191.7 kB / 2.898 GB, free: 46.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/5.575, allocations: 88.77 kB / 2.898 GB, free: 46.14 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/5.575, allocations: 27.98 kB / 2.899 GB, free: 46.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/5.576, allocations: 1.555 MB / 2.9 GB, free: 44.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/5.576, allocations: 8 kB / 2.9 GB, free: 44.41 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/5.578, allocations: 1.179 MB / 2.901 GB, free: 43.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/5.578, allocations: 359.2 kB / 2.902 GB, free: 42.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/5.579, allocations: 27.94 kB / 2.902 GB, free: 42.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/5.579, allocations: 72.08 kB / 2.902 GB, free: 42.74 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/5.579, allocations: 80.88 kB / 2.902 GB, free: 42.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/5.579, allocations: 39.97 kB / 2.902 GB, free: 42.62 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007347/5.58, allocations: 0.6122 MB / 2.902 GB, free: 42.01 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.292e-06/5.58, allocations: 0 / 2.902 GB, free: 42.01 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001286/5.581, allocations: 446.6 kB / 2.903 GB, free: 41.57 MB / 0.6667 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 (115): * Single equations (assignments): 112 * 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.001835/5.583, allocations: 1.025 MB / 2.904 GB, free: 40.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001702/5.585, allocations: 1.011 MB / 2.905 GB, free: 39.64 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.585, allocations: 0 / 2.905 GB, free: 39.64 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008174/5.586, allocations: 0.6057 MB / 2.905 GB, free: 39.02 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/5.587, allocations: 275.5 kB / 2.906 GB, free: 38.76 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/5.591, allocations: 2.944 MB / 2.908 GB, free: 35.78 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/5.592, allocations: 1.162 MB / 2.91 GB, free: 34.59 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009274/5.593, allocations: 304 kB / 2.91 GB, free: 34.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/5.593, allocations: 131.4 kB / 2.91 GB, free: 34.16 MB / 0.6667 GB Notification: Performance of SimCode: time 4.71e-07/5.593, allocations: 0 / 2.91 GB, free: 34.16 MB / 0.6667 GB Notification: Performance of Templates: time 0.03385/5.627, allocations: 23.77 MB / 2.933 GB, free: 10.46 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)