Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8624/0.8624, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.001243/0.001243, allocations: 185 kB / 191.5 MB, free: 5.758 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.532/1.532, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001039/0.001039, allocations: 94.22 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001932/0.001932, allocations: 263.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.0004535, allocations: 14.22 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2262, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6622/0.8886, allocations: 123.6 MB / 0.8945 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/0.889, allocations: 89.11 kB / 0.8945 GB, free: 21.84 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.05768/0.9467, allocations: 20.35 MB / 0.9144 GB, free: 20 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9467, allocations: 0 / 0.9144 GB, free: 20 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.849e-05/0.9468, allocations: 7.781 kB / 0.9144 GB, free: 20 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002143/0.9489, allocations: 0.9542 MB / 0.9154 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.949, allocations: 11.75 kB / 0.9154 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.9518, allocations: 0.5483 MB / 0.9159 GB, free: 19.27 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.9526, allocations: 450.7 kB / 0.9163 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.9528, allocations: 124 kB / 0.9164 GB, free: 18.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.9529, allocations: 41.88 kB / 0.9165 GB, free: 18.92 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.9547, allocations: 0.8186 MB / 0.9173 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.9548, allocations: 0 / 0.9173 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.9548, allocations: 18.41 kB / 0.9173 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.9549, allocations: 11.72 kB / 0.9173 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.9574, allocations: 1.005 MB / 0.9183 GB, free: 18.79 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004169/0.9616, allocations: 2.158 MB / 0.9204 GB, free: 18.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003306/0.9649, allocations: 1.142 MB / 0.9215 GB, free: 18.24 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/0.9665, allocations: 1.764 MB / 0.9232 GB, free: 16.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.968, allocations: 0.5753 MB / 0.9238 GB, free: 16.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 4.288e-06/0.9681, allocations: 0 / 0.9238 GB, free: 16.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=60): time 0.008418/0.9765, allocations: 2.127 MB / 0.9259 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.9766, allocations: 140.5 kB / 0.926 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.9774, allocations: 438.6 kB / 0.9264 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.9775, allocations: 32.64 kB / 0.9265 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.9778, allocations: 258.3 kB / 0.9267 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.978, allocations: 198.1 kB / 0.9269 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.9781, allocations: 10.94 kB / 0.9269 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9782, allocations: 363 kB / 0.9273 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.9793, allocations: 444 kB / 0.9277 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.9804, allocations: 0.5318 MB / 0.9282 GB, free: 15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.9815, allocations: 432.5 kB / 0.9286 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.9815, allocations: 0 / 0.9286 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00438/0.9859, allocations: 1.317 MB / 0.9299 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.986, allocations: 12.94 kB / 0.9299 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.986, allocations: 0 / 0.9299 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009895/0.987, allocations: 209.8 kB / 0.9301 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009386/0.9879, allocations: 183.4 kB / 0.9303 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005822/0.9938, allocations: 2.29 MB / 0.9325 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.995, allocations: 159.1 kB / 0.9327 GB, free: 29.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.9951, allocations: 26.72 kB / 0.9327 GB, free: 29.48 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004492/0.9955, allocations: 209.5 kB / 0.9329 GB, free: 29.35 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.58e-05/0.9956, allocations: 54.47 kB / 0.933 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/0.9992, allocations: 1.352 MB / 0.9343 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.9993, allocations: 7.75 kB / 0.9343 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.9993, allocations: 0 / 0.9343 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.9993, allocations: 3.75 kB / 0.9343 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008248/1, allocations: 0.8287 MB / 0.9351 GB, free: 28.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1, allocations: 0 / 0.9351 GB, free: 28.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/1.001, allocations: 181.2 kB / 0.9353 GB, free: 28.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007514/1.002, allocations: 170.1 kB / 0.9354 GB, free: 28.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/1.002, allocations: 18.36 kB / 0.9354 GB, free: 28.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/1.005, allocations: 2.047 MB / 0.9374 GB, free: 27.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.005, allocations: 3.953 kB / 0.9374 GB, free: 27.31 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/1.009, allocations: 1.227 MB / 0.9386 GB, free: 26.97 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/1.009, allocations: 247.3 kB / 0.9389 GB, free: 26.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.009, allocations: 14.22 kB / 0.9389 GB, free: 26.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000776/1.01, allocations: 104.6 kB / 0.939 GB, free: 26.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.01, allocations: 54.78 kB / 0.939 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/1.01, allocations: 30.09 kB / 0.9391 GB, free: 26.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003893/1.01, allocations: 342.7 kB / 0.9394 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.01, allocations: 3.938 kB / 0.9394 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009322/1.011, allocations: 292.7 kB / 0.9397 GB, free: 26.54 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 (71): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001334/1.013, allocations: 0.5546 MB / 0.9402 GB, free: 26.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00259/1.015, allocations: 1.135 MB / 0.9413 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.015, allocations: 0 / 0.9413 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/1.017, allocations: 0.6635 MB / 0.942 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/1.017, allocations: 47.14 kB / 0.942 GB, free: 25.72 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/1.02, allocations: 1.693 MB / 0.9437 GB, free: 24.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/1.021, allocations: 0.9 MB / 0.9446 GB, free: 24.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008789/1.022, allocations: 138 kB / 0.9447 GB, free: 23.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/1.022, allocations: 77.38 kB / 0.9448 GB, free: 23.93 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.022, allocations: 0 / 0.9448 GB, free: 23.93 MB / 0.5573 GB Notification: Performance of Templates: time 0.01999/1.042, allocations: 11.31 MB / 0.9558 GB, free: 18.18 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1)