Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009278/0.000928, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001746/0.001746, allocations: 273.5 kB / 291.4 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004159, allocations: 12.47 kB / 0.598 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 88.55 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003007/0.1572, allocations: 2.615 MB / 0.687 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.1612, allocations: 3.028 MB / 0.69 GB, free: 9.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.1615, allocations: 0.6562 kB / 0.69 GB, free: 9.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1617, allocations: 43.64 kB / 0.69 GB, free: 9.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008427/0.1626, allocations: 347 kB / 0.6903 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.1633, allocations: 309.2 kB / 0.6906 GB, free: 9.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.1639, allocations: 0.6049 MB / 0.6912 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1641, allocations: 104.2 kB / 0.6913 GB, free: 8.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.1643, allocations: 231.1 kB / 0.6916 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.1647, allocations: 283.8 kB / 0.6918 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.045e-05/0.1648, allocations: 24 kB / 0.6918 GB, free: 7.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.1655, allocations: 444.6 kB / 0.6923 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1657, allocations: 127.5 kB / 0.6924 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1658, allocations: 110.4 kB / 0.6925 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007254/0.1666, allocations: 0.7053 MB / 0.6932 GB, free: 6.559 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1666, allocations: 0 / 0.6932 GB, free: 6.559 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1666, allocations: 0.5312 kB / 0.6932 GB, free: 6.559 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1666, allocations: 4 kB / 0.6932 GB, free: 6.555 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001666/0.1683, allocations: 0.7971 MB / 0.694 GB, free: 5.707 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1683, allocations: 12.03 kB / 0.694 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.1711, allocations: 0.5613 MB / 0.6945 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.1723, allocations: 0.5572 MB / 0.6951 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.1725, allocations: 199.2 kB / 0.6953 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.1726, allocations: 47.94 kB / 0.6953 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.1739, allocations: 0.6792 MB / 0.696 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1739, allocations: 3.953 kB / 0.696 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.174, allocations: 20 kB / 0.696 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.174, allocations: 8 kB / 0.696 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.1757, allocations: 0.7844 MB / 0.6968 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.1789, allocations: 1.735 MB / 0.6985 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/0.1817, allocations: 1.011 MB / 0.6995 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/0.1825, allocations: 369.2 kB / 0.6998 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/0.1842, allocations: 1.769 MB / 0.7015 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009792/0.1852, allocations: 458.8 kB / 0.702 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 3.767e-06/0.1852, allocations: 7.938 kB / 0.702 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.0025/0.1877, allocations: 1.074 MB / 0.703 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.1878, allocations: 111.4 kB / 0.7031 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.1882, allocations: 361.8 kB / 0.7035 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.1883, allocations: 37.7 kB / 0.7035 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1884, allocations: 213 kB / 0.7037 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.1886, allocations: 220.8 kB / 0.7039 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.1886, allocations: 16 kB / 0.7039 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1888, allocations: 358.8 kB / 0.7043 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.1895, allocations: 313.8 kB / 0.7046 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.1903, allocations: 441.5 kB / 0.705 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007722/0.1911, allocations: 343.1 kB / 0.7053 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1911, allocations: 0 / 0.7053 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001824/0.1929, allocations: 0.8636 MB / 0.7062 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.193, allocations: 7.984 kB / 0.7062 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.193, allocations: 4 kB / 0.7062 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.193, allocations: 4 kB / 0.7062 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009553/0.194, allocations: 191.9 kB / 0.7064 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.194, allocations: 15.88 kB / 0.7064 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.1946, allocations: 101.9 kB / 0.7065 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/0.1947, allocations: 39.95 kB / 0.7065 GB, free: 8.172 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002965/0.195, allocations: 199.1 kB / 0.7067 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.1951, allocations: 47.44 kB / 0.7068 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.1977, allocations: 1.135 MB / 0.7079 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.1977, allocations: 11.94 kB / 0.7079 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1977, allocations: 0 / 0.7079 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.1977, allocations: 7.969 kB / 0.7079 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.2006, allocations: 1.757 MB / 0.7096 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2006, allocations: 0 / 0.7096 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009048/0.2015, allocations: 195.7 kB / 0.7098 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.2015, allocations: 7.938 kB / 0.7098 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.2016, allocations: 23.98 kB / 0.7098 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.2016, allocations: 7.938 kB / 0.7098 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2016, allocations: 3.953 kB / 0.7098 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.2034, allocations: 0.9995 MB / 0.7108 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.2037, allocations: 232 kB / 0.711 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.2038, allocations: 16 kB / 0.711 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.2044, allocations: 67.88 kB / 0.7111 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.2045, allocations: 60.92 kB / 0.7112 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.2046, allocations: 35.92 kB / 0.7112 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002576/0.2049, allocations: 247.2 kB / 0.7114 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2049, allocations: 0 / 0.7114 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007244/0.2056, allocations: 227.8 kB / 0.7117 GB, free: 2.805 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001134/0.2067, allocations: 0.4989 MB / 0.7121 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.2085, allocations: 0.811 MB / 0.7129 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2085, allocations: 448 / 0.7129 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008641/0.2094, allocations: 485.3 kB / 0.7134 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.2099, allocations: 72.36 kB / 0.7135 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.2119, allocations: 1.378 MB / 0.7148 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.2123, allocations: 0.8665 MB / 0.7157 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000823/0.2131, allocations: 176.6 kB / 0.7158 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.2134, allocations: 91.36 kB / 0.7159 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.2134, allocations: 0 / 0.7159 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.01571/0.2292, allocations: 8.867 MB / 0.7246 GB, free: 5.715 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)