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.001244/0.001244, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001063/0.001063, allocations: 194.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 290.6 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9319/0.9319, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 92.19 kB / 0.5945 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1408, allocations: 86.98 MB / 0.6794 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004139/0.145, allocations: 3.083 MB / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.1492, allocations: 3.268 MB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1494, allocations: 4 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.1497, allocations: 47.62 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007458/0.1504, allocations: 350.5 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.1511, allocations: 345 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.1516, allocations: 0.6596 MB / 0.687 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.1518, allocations: 121.6 kB / 0.6871 GB, free: 9.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.1521, allocations: 247 kB / 0.6873 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003895/0.1525, allocations: 310.8 kB / 0.6876 GB, free: 8.793 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.362e-05/0.1526, allocations: 32 kB / 0.6877 GB, free: 8.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007149/0.1533, allocations: 463.5 kB / 0.6881 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.1535, allocations: 147.4 kB / 0.6883 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.1537, allocations: 250.5 kB / 0.6885 GB, free: 7.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009142/0.1547, allocations: 0.935 MB / 0.6894 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1547, allocations: 4 kB / 0.6894 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1547, allocations: 0 / 0.6894 GB, free: 6.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1547, allocations: 4 kB / 0.6894 GB, free: 6.973 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.001853/0.1565, allocations: 0.9102 MB / 0.6903 GB, free: 6.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1566, allocations: 8.031 kB / 0.6903 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.1598, allocations: 0.5544 MB / 0.6908 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.1611, allocations: 0.5622 MB / 0.6914 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.1613, allocations: 195.8 kB / 0.6916 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.1613, allocations: 47.94 kB / 0.6916 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.1627, allocations: 0.6752 MB / 0.6923 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1628, allocations: 8 kB / 0.6923 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.1628, allocations: 20 kB / 0.6923 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1629, allocations: 12 kB / 0.6923 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.1647, allocations: 0.7727 MB / 0.6931 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/0.168, allocations: 1.727 MB / 0.6948 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.171, allocations: 1.015 MB / 0.6958 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008162/0.1719, allocations: 365.3 kB / 0.6961 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001768/0.1737, allocations: 1.773 MB / 0.6978 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.1747, allocations: 458.8 kB / 0.6983 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.885e-06/0.1747, allocations: 0 / 0.6983 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.002726/0.1774, allocations: 1.068 MB / 0.6993 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.1775, allocations: 111.4 kB / 0.6994 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.1779, allocations: 365.6 kB / 0.6998 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.1779, allocations: 37.7 kB / 0.6998 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.1781, allocations: 213 kB / 0.7 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.1783, allocations: 224.7 kB / 0.7002 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.1785, allocations: 146.5 kB / 0.7004 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1786, allocations: 358.8 kB / 0.7007 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007946/0.1794, allocations: 309.8 kB / 0.701 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008661/0.1803, allocations: 445.5 kB / 0.7014 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.182, allocations: 0.7205 MB / 0.7021 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.182, allocations: 4 kB / 0.7021 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001982/0.184, allocations: 0.8596 MB / 0.703 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.184, allocations: 4 kB / 0.703 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.184, allocations: 4 kB / 0.703 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1841, allocations: 12.19 kB / 0.703 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.1851, allocations: 187.7 kB / 0.7032 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.1851, allocations: 7.938 kB / 0.7032 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.1858, allocations: 103.3 kB / 0.7033 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/0.1859, allocations: 31.97 kB / 0.7033 GB, free: 7.973 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 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.1861, allocations: 206.3 kB / 0.7035 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.1862, allocations: 51.44 kB / 0.7036 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.189, allocations: 1.116 MB / 0.7046 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.189, allocations: 8 kB / 0.7047 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.189, allocations: 3.938 kB / 0.7047 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.189, allocations: 3.984 kB / 0.7047 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/0.1921, allocations: 1.763 MB / 0.7064 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.1921, allocations: 7.984 kB / 0.7064 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.1931, allocations: 195.7 kB / 0.7066 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.1931, allocations: 3.938 kB / 0.7066 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.1932, allocations: 27.92 kB / 0.7066 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.1932, allocations: 8 kB / 0.7066 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1932, allocations: 0 / 0.7066 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.1952, allocations: 1.003 MB / 0.7076 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.1955, allocations: 224.1 kB / 0.7078 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.1956, allocations: 19.94 kB / 0.7078 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/0.1963, allocations: 59.94 kB / 0.7079 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.1964, allocations: 56.92 kB / 0.7079 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-05/0.1965, allocations: 31.97 kB / 0.708 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002508/0.1968, allocations: 255.1 kB / 0.7082 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1968, allocations: 0 / 0.7082 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006838/0.1975, allocations: 227.8 kB / 0.7084 GB, free: 2.625 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.1986, allocations: 497.4 kB / 0.7089 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.2004, allocations: 0.8151 MB / 0.7097 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2005, allocations: 128 / 0.7097 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009621/0.2014, allocations: 469.5 kB / 0.7101 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.2019, allocations: 85.27 kB / 0.7102 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.2041, allocations: 1.377 MB / 0.7116 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.2045, allocations: 0.8665 MB / 0.7124 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008321/0.2053, allocations: 164.6 kB / 0.7126 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.2056, allocations: 87.36 kB / 0.7127 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.2056, allocations: 4 kB / 0.7127 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.01439/0.22, allocations: 9.135 MB / 0.7216 GB, free: 5.285 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)