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.7591/0.7591, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009587/0.0009588, allocations: 184.8 kB / 182.2 MB, free: 9.445 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.313/1.313, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008894/0.0008895, allocations: 88.09 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 279.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.119e-05/1.12e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3851, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.5336, allocations: 119.1 MB / 0.8737 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.5339, allocations: 75.84 kB / 0.8738 GB, free: 8.637 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.05622/0.5901, allocations: 18.3 MB / 0.8916 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5901, allocations: 0 / 0.8916 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.023e-05/0.5902, allocations: 12 kB / 0.8917 GB, free: 6.285 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.002033/0.5922, allocations: 0.7974 MB / 0.8924 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5923, allocations: 8.031 kB / 0.8924 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.595, allocations: 490.8 kB / 0.8929 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007525/0.5958, allocations: 398 kB / 0.8933 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.596, allocations: 187.5 kB / 0.8935 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.5962, allocations: 24 kB / 0.8935 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001244/0.5974, allocations: 0.6897 MB / 0.8942 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.5984, allocations: 0.5798 MB / 0.8947 GB, free: 2.992 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.5985, allocations: 4 kB / 0.8947 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.277e-05/0.5985, allocations: 0 / 0.8947 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.5985, allocations: 15.94 kB / 0.8948 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.6019, allocations: 1.593 MB / 0.8963 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.6041, allocations: 0.9462 MB / 0.8972 GB, free: 364 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.6046, allocations: 322.5 kB / 0.8975 GB, free: 36 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.33/0.9346, allocations: 1.762 MB / 0.8993 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/0.9363, allocations: 428.4 kB / 0.8997 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=67): time 5.53e-06/0.9363, allocations: 0 / 0.8997 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67): time 0.0372/0.9736, allocations: 4.977 MB / 0.9045 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.9736, allocations: 138.5 kB / 0.9047 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.9742, allocations: 316.2 kB / 0.905 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.673e-05/0.9743, allocations: 28.77 kB / 0.905 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.9744, allocations: 203.7 kB / 0.9052 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.9747, allocations: 220.1 kB / 0.9054 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.9747, allocations: 1.438 kB / 0.9054 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9749, allocations: 354.2 kB / 0.9057 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.9754, allocations: 291.7 kB / 0.906 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.976, allocations: 358.2 kB / 0.9064 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03389/1.01, allocations: 4.778 MB / 0.911 GB, free: 123 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.01, allocations: 0 / 0.911 GB, free: 123 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.03361/1.044, allocations: 5.22 MB / 0.9161 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/1.044, allocations: 7.25 kB / 0.9161 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.044, allocations: 0 / 0.9161 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.044, allocations: 3.312 kB / 0.9161 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.045, allocations: 209.6 kB / 0.9163 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.045, allocations: 0 / 0.9163 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000961/1.046, allocations: 144 kB / 0.9165 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.812e-05/1.046, allocations: 42.3 kB / 0.9165 GB, free: 122.7 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 () * 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.0001884/1.046, allocations: 114.4 kB / 0.9166 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/1.046, allocations: 47.81 kB / 0.9167 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02964/1.076, allocations: 5.202 MB / 0.9217 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/1.076, allocations: 14.19 kB / 0.9218 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.076, allocations: 4 kB / 0.9218 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/1.076, allocations: 6.703 kB / 0.9218 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03096/1.107, allocations: 5.89 MB / 0.9275 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.107, allocations: 4 kB / 0.9275 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.108, allocations: 221.5 kB / 0.9277 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/1.108, allocations: 7.984 kB / 0.9277 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-05/1.108, allocations: 11.98 kB / 0.9277 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.207e-05/1.108, allocations: 8 kB / 0.9278 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/1.108, allocations: 3.953 kB / 0.9278 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03008/1.138, allocations: 5.091 MB / 0.9327 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/1.139, allocations: 242.7 kB / 0.933 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/1.139, allocations: 6.609 kB / 0.933 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/1.14, allocations: 91.31 kB / 0.9331 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.14, allocations: 60.69 kB / 0.9331 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/1.14, allocations: 35.94 kB / 0.9331 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003456/1.141, allocations: 246.5 kB / 0.9334 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.141, allocations: 0 / 0.9334 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009141/1.141, allocations: 249.4 kB / 0.9336 GB, free: 108.2 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) * 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.0009989/1.142, allocations: 475.3 kB / 0.9341 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001013/1.144, allocations: 0.7379 MB / 0.9348 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.144, allocations: 4 kB / 0.9348 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004809/1.144, allocations: 428.5 kB / 0.9352 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/1.144, allocations: 45.58 kB / 0.9353 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/1.146, allocations: 0.8133 MB / 0.936 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/1.146, allocations: 0.874 MB / 0.9369 GB, free: 105 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007737/1.147, allocations: 163.6 kB / 0.9371 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/1.147, allocations: 83.38 kB / 0.9371 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/1.147, allocations: 4 kB / 0.9371 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.01268/1.16, allocations: 8.992 MB / 0.9459 GB, free: 95.99 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)