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.8149/0.8149, allocations: 143.4 MB / 158.3 MB, free: 5.801 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.001175/0.001174, allocations: 184.5 kB / 191.5 MB, free: 5.766 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.447/1.447, allocations: 223.2 MB / 447.7 MB, free: 6.566 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.001029/0.001029, allocations: 100.2 kB / 0.5188 GB, free: 2.914 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 272.9 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004591, allocations: 15.98 kB / 0.6929 GB, free: 2.32 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3774, allocations: 82.78 MB / 0.7737 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.5275, allocations: 119.9 MB / 0.8908 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.5277, allocations: 83.84 kB / 0.8909 GB, free: 2.094 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.3934/0.9211, allocations: 18.75 MB / 0.9092 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9212, allocations: 0.7812 kB / 0.9092 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.598e-05/0.9212, allocations: 8.469 kB / 0.9092 GB, free: 121.6 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.001919/0.9232, allocations: 0.846 MB / 0.91 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.9232, allocations: 9.109 kB / 0.91 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/0.926, allocations: 481.9 kB / 0.9105 GB, free: 121 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.9268, allocations: 402.4 kB / 0.9108 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.927, allocations: 198 kB / 0.911 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.9271, allocations: 45.95 kB / 0.9111 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.929, allocations: 0.7559 MB / 0.9118 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.9291, allocations: 1.969 kB / 0.9118 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.9292, allocations: 22.33 kB / 0.9118 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.9292, allocations: 10.84 kB / 0.9119 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.9318, allocations: 0.9633 MB / 0.9128 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.9357, allocations: 1.695 MB / 0.9144 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004135/0.9399, allocations: 1.269 MB / 0.9157 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/0.9415, allocations: 1.766 MB / 0.9174 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/0.9429, allocations: 0.5563 MB / 0.918 GB, free: 118 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=67): time 2.925e-06/0.943, allocations: 0 / 0.918 GB, free: 118 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67): time 0.003712/0.9467, allocations: 1.368 MB / 0.9193 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.9468, allocations: 137.9 kB / 0.9194 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.9473, allocations: 382.2 kB / 0.9198 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/0.9474, allocations: 37.61 kB / 0.9198 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.9475, allocations: 201 kB / 0.92 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.9477, allocations: 228.1 kB / 0.9202 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.9477, allocations: 10.16 kB / 0.9202 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9479, allocations: 360.6 kB / 0.9206 GB, free: 117 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.949, allocations: 427.1 kB / 0.921 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.9501, allocations: 498.3 kB / 0.9215 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.9512, allocations: 426.3 kB / 0.9219 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.9513, allocations: 1.375 kB / 0.9219 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002518/0.9538, allocations: 1.027 MB / 0.9229 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.9538, allocations: 6.375 kB / 0.9229 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9538, allocations: 1.125 kB / 0.9229 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.9539, allocations: 2.5 kB / 0.9229 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.955, allocations: 213.3 kB / 0.9231 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.955, allocations: 5.984 kB / 0.9231 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.9562, allocations: 164.3 kB / 0.9233 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.9563, allocations: 31.61 kB / 0.9233 GB, free: 116.2 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.0003667/0.9567, allocations: 196.2 kB / 0.9235 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.9568, allocations: 51.41 kB / 0.9235 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/0.9605, allocations: 1.298 MB / 0.9248 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.9605, allocations: 9.312 kB / 0.9248 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.9605, allocations: 7.953 kB / 0.9248 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.9605, allocations: 3.797 kB / 0.9248 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.9642, allocations: 2.065 MB / 0.9268 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.9642, allocations: 3.312 kB / 0.9268 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.9653, allocations: 226 kB / 0.927 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/0.9653, allocations: 7.266 kB / 0.927 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/0.9654, allocations: 28.62 kB / 0.9271 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.9654, allocations: 3.5 kB / 0.9271 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9654, allocations: 3.938 kB / 0.9271 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.9678, allocations: 1.185 MB / 0.9282 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/0.9682, allocations: 250.6 kB / 0.9285 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.9684, allocations: 19.89 kB / 0.9285 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008868/0.9693, allocations: 100.8 kB / 0.9286 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.9694, allocations: 66.55 kB / 0.9287 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.9695, allocations: 26.73 kB / 0.9287 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003385/0.9698, allocations: 303 kB / 0.929 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9698, allocations: 3.469 kB / 0.929 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00101/0.9708, allocations: 271.9 kB / 0.9292 GB, free: 113.6 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.001446/0.9723, allocations: 0.5368 MB / 0.9298 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00228/0.9746, allocations: 1.015 MB / 0.9307 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9746, allocations: 0 / 0.9307 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.9757, allocations: 0.5685 MB / 0.9313 GB, free: 113 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.9762, allocations: 54.61 kB / 0.9314 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.9785, allocations: 1.463 MB / 0.9328 GB, free: 112.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.9788, allocations: 0.876 MB / 0.9336 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008465/0.9797, allocations: 175 kB / 0.9338 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.98, allocations: 86.88 kB / 0.9339 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/0.98, allocations: 0 / 0.9339 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01439/0.9944, allocations: 9.484 MB / 0.9432 GB, free: 106.7 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)