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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.7318/0.7318, 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.0009821/0.0009823, allocations: 188 kB / 187.3 MB, free: 11.88 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.323/1.323, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008995/0.0008993, allocations: 97.33 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001771, allocations: 276.7 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.598e-05/2.603e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3764, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.5027, allocations: 119.8 MB / 0.8813 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.5031, allocations: 78.84 kB / 0.8813 GB, free: 4.668 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.05543/0.5585, allocations: 18.52 MB / 0.8994 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5585, allocations: 0 / 0.8994 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.045e-05/0.5586, allocations: 11.94 kB / 0.8994 GB, free: 2.102 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001639/0.5602, allocations: 0.7894 MB / 0.9002 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5603, allocations: 12.03 kB / 0.9002 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.5628, allocations: 482.8 kB / 0.9007 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.5635, allocations: 398 kB / 0.901 GB, free: 364 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.5637, allocations: 203.2 kB / 0.9012 GB, free: 120 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.419e-05/0.5638, allocations: 40 kB / 0.9013 GB, free: 80 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.565, allocations: 0.6363 MB / 0.9019 GB, free: 15.42 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.565, allocations: 0 / 0.9019 GB, free: 15.42 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.277e-05/0.5651, allocations: 23.94 kB / 0.9019 GB, free: 15.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.5651, allocations: 12 kB / 0.9019 GB, free: 15.39 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.5663, allocations: 0.7106 MB / 0.9026 GB, free: 14.68 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.5698, allocations: 1.707 MB / 0.9043 GB, free: 12.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.5722, allocations: 0.9769 MB / 0.9053 GB, free: 11.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.5728, allocations: 346.4 kB / 0.9056 GB, free: 11.56 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001796/0.5746, allocations: 1.765 MB / 0.9073 GB, free: 9.406 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007146/0.5753, allocations: 442.9 kB / 0.9077 GB, free: 8.965 MB / 0.573 GB Notification: Performance of pre-optimization done (n=67): time 2.184e-06/0.5753, allocations: 0 / 0.9077 GB, free: 8.965 MB / 0.573 GB Notification: Performance of matching and sorting (n=67): time 0.001353/0.5767, allocations: 0.7171 MB / 0.9084 GB, free: 8.238 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.5767, allocations: 137.1 kB / 0.9086 GB, free: 8.074 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.5772, allocations: 371.6 kB / 0.9089 GB, free: 7.707 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.464e-05/0.5773, allocations: 37.7 kB / 0.9089 GB, free: 7.664 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.5774, allocations: 209.2 kB / 0.9091 GB, free: 7.453 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.5776, allocations: 216.8 kB / 0.9094 GB, free: 7.238 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.5777, allocations: 16 kB / 0.9094 GB, free: 7.223 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5778, allocations: 362.8 kB / 0.9097 GB, free: 6.859 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/0.5783, allocations: 301.5 kB / 0.91 GB, free: 6.566 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.5788, allocations: 371.9 kB / 0.9104 GB, free: 6.191 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.5794, allocations: 309.9 kB / 0.9107 GB, free: 5.891 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5794, allocations: 0 / 0.9107 GB, free: 5.891 MB / 0.573 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001352/0.5808, allocations: 0.7847 MB / 0.9114 GB, free: 5.098 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5808, allocations: 8 kB / 0.9114 GB, free: 5.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5808, allocations: 4 kB / 0.9114 GB, free: 5.086 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5808, allocations: 0 / 0.9114 GB, free: 5.086 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.5819, allocations: 211.7 kB / 0.9116 GB, free: 4.879 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5819, allocations: 0 / 0.9116 GB, free: 4.879 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009764/0.5829, allocations: 163.3 kB / 0.9118 GB, free: 4.719 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.583, allocations: 31.97 kB / 0.9118 GB, free: 4.688 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiationOneAxisTracked.outsidePolarCircle,radiationFixed.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0001724/0.5832, allocations: 136.9 kB / 0.912 GB, free: 4.547 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5833, allocations: 55.3 kB / 0.912 GB, free: 4.492 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.5854, allocations: 1.068 MB / 0.913 GB, free: 3.43 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5854, allocations: 8 kB / 0.9131 GB, free: 3.422 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5854, allocations: 4 kB / 0.9131 GB, free: 3.418 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.5854, allocations: 7.969 kB / 0.9131 GB, free: 3.41 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.5881, allocations: 1.811 MB / 0.9148 GB, free: 1.539 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5881, allocations: 3.984 kB / 0.9148 GB, free: 1.535 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.5892, allocations: 219.7 kB / 0.915 GB, free: 1.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.5892, allocations: 4 kB / 0.9151 GB, free: 1.316 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.636e-05/0.5893, allocations: 23.98 kB / 0.9151 GB, free: 1.293 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5893, allocations: 3.938 kB / 0.9151 GB, free: 1.289 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5893, allocations: 4 kB / 0.9151 GB, free: 1.285 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.5907, allocations: 0.9386 MB / 0.916 GB, free: 336 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.5911, allocations: 260 kB / 0.9162 GB, free: 56 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.5912, allocations: 16 kB / 0.9163 GB, free: 40 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3389/0.9301, allocations: 97.17 kB / 0.9164 GB, free: 137.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.9304, allocations: 59.25 kB / 0.9164 GB, free: 137.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.9305, allocations: 31.27 kB / 0.9164 GB, free: 137.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005092/0.9311, allocations: 294.1 kB / 0.9167 GB, free: 137.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/0.9311, allocations: 0 / 0.9167 GB, free: 137.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001062/0.9321, allocations: 269.7 kB / 0.917 GB, free: 137.6 MB / 0.573 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 93 * 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.001209/0.9333, allocations: 0.5075 MB / 0.9175 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.9348, allocations: 0.7684 MB / 0.9182 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.9348, allocations: 0.9062 kB / 0.9182 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007743/0.9356, allocations: 455.5 kB / 0.9187 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.936, allocations: 51.84 kB / 0.9187 GB, free: 137.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.9377, allocations: 0.8604 MB / 0.9195 GB, free: 137.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.938, allocations: 0.8786 MB / 0.9204 GB, free: 136.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008603/0.9389, allocations: 167.8 kB / 0.9206 GB, free: 136.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.9393, allocations: 86.86 kB / 0.9206 GB, free: 136.5 MB / 0.573 GB Notification: Performance of SimCode: time 4.01e-07/0.9393, allocations: 0 / 0.9206 GB, free: 136.5 MB / 0.573 GB Notification: Performance of Templates: time 0.01676/0.956, allocations: 9.504 MB / 0.9299 GB, free: 136.1 MB / 0.573 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)