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 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.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.8091/0.8091, allocations: 140.1 MB / 156 MB, free: 5.164 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.001075/0.001075, allocations: 183.1 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.531/1.531, allocations: 205.4 MB / 426.3 MB, free: 8.465 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.000916/0.0009162, allocations: 102.3 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001799/0.001799, allocations: 276.5 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004949, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4377, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.5828, allocations: 118 MB / 0.8547 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5832, allocations: 75.97 kB / 0.8548 GB, free: 8.094 MB / 0.5261 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.05389/0.6371, allocations: 18.49 MB / 0.8728 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.956e-06/0.6371, allocations: 0 / 0.8728 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.102e-05/0.6372, allocations: 8 kB / 0.8728 GB, free: 5.527 MB / 0.5417 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.001749/0.6389, allocations: 0.8328 MB / 0.8737 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.639, allocations: 11.97 kB / 0.8737 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.6413, allocations: 487.7 kB / 0.8741 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.642, allocations: 415.1 kB / 0.8745 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.6422, allocations: 199.8 kB / 0.8747 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.6423, allocations: 40.38 kB / 0.8748 GB, free: 3.434 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.6439, allocations: 0.7655 MB / 0.8755 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.6439, allocations: 3.938 kB / 0.8755 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.644, allocations: 20 kB / 0.8755 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.644, allocations: 12 kB / 0.8755 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.6463, allocations: 0.9602 MB / 0.8765 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.6497, allocations: 1.702 MB / 0.8781 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.6527, allocations: 1.234 MB / 0.8793 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.6537, allocations: 472.1 kB / 0.8798 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/0.6555, allocations: 1.765 MB / 0.8815 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.6568, allocations: 0.5626 MB / 0.8821 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=67): time 4.738e-06/0.6568, allocations: 0 / 0.8821 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67): time 0.003393/0.6602, allocations: 1.359 MB / 0.8834 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.6603, allocations: 141.1 kB / 0.8835 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006273/0.661, allocations: 425.6 kB / 0.8839 GB, free: 9.484 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.661, allocations: 37.7 kB / 0.884 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.6612, allocations: 201.3 kB / 0.8842 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.6614, allocations: 224.8 kB / 0.8844 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.6615, allocations: 12 kB / 0.8844 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6616, allocations: 358.8 kB / 0.8847 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.6627, allocations: 429 kB / 0.8851 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.6637, allocations: 494.3 kB / 0.8856 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.6658, allocations: 0.8487 MB / 0.8864 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.6658, allocations: 0 / 0.8864 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002367/0.6682, allocations: 1.028 MB / 0.8874 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.6682, allocations: 4 kB / 0.8874 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6682, allocations: 0 / 0.8874 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.6683, allocations: 4 kB / 0.8875 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.6693, allocations: 207.7 kB / 0.8876 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.6694, allocations: 4 kB / 0.8877 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000964/0.6703, allocations: 167.3 kB / 0.8878 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.287e-05/0.6704, allocations: 35.94 kB / 0.8878 GB, free: 5.43 MB / 0.5573 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 () * Number of clocked 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.000327/0.6708, allocations: 197.6 kB / 0.888 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.6709, allocations: 51.34 kB / 0.8881 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003126/0.674, allocations: 1.295 MB / 0.8893 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.674, allocations: 8 kB / 0.8894 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6741, allocations: 0 / 0.8894 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.6741, allocations: 7.969 kB / 0.8894 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/0.6779, allocations: 2.062 MB / 0.8914 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6779, allocations: 0 / 0.8914 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.6789, allocations: 223.7 kB / 0.8916 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/0.679, allocations: 8 kB / 0.8916 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.679, allocations: 23.98 kB / 0.8916 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.6791, allocations: 0 / 0.8916 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6791, allocations: 4 kB / 0.8916 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.6816, allocations: 1.194 MB / 0.8928 GB, free: 284 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.682, allocations: 244.1 kB / 0.893 GB, free: 20 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.6821, allocations: 19.98 kB / 0.893 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.067, allocations: 98.72 kB / 0.8931 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/1.068, allocations: 59.2 kB / 0.8932 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.987e-05/1.068, allocations: 34.84 kB / 0.8932 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005549/1.068, allocations: 300 kB / 0.8935 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.068, allocations: 0 / 0.8935 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001159/1.07, allocations: 276 kB / 0.8938 GB, free: 139.3 MB / 0.5573 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 (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.001268/1.071, allocations: 0.5335 MB / 0.8943 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002834/1.074, allocations: 1.017 MB / 0.8953 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.074, allocations: 1.125 kB / 0.8953 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/1.075, allocations: 0.5663 MB / 0.8958 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/1.076, allocations: 63.02 kB / 0.8959 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/1.078, allocations: 1.47 MB / 0.8973 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/1.079, allocations: 0.8616 MB / 0.8982 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009075/1.08, allocations: 178.8 kB / 0.8984 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/1.08, allocations: 85.91 kB / 0.8984 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.193e-06/1.08, allocations: 0 / 0.8984 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.01653/1.097, allocations: 9.563 MB / 0.9078 GB, free: 137.3 MB / 0.5573 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)