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 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.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.781/0.781, allocations: 140.1 MB / 156 MB, free: 5.152 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.001043/0.001043, allocations: 183 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.453/1.453, allocations: 205.4 MB / 426.3 MB, free: 8.469 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.0008151/0.0008148, allocations: 82.41 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00173/0.00173, allocations: 259 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004456, allocations: 16 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.32, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.4622, allocations: 121.8 MB / 0.8584 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4625, allocations: 87.94 kB / 0.8585 GB, free: 4.332 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.05628/0.5188, allocations: 20.01 MB / 0.878 GB, free: 172 kB / 0.5417 GB Notification: Performance of FrontEnd: time 3.256e-06/0.5189, allocations: 4 kB / 0.878 GB, free: 168 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.248e-05/0.5189, allocations: 15.94 kB / 0.878 GB, free: 152 kB / 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.002309/0.5212, allocations: 0.9257 MB / 0.8789 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.5213, allocations: 12.03 kB / 0.8789 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.5242, allocations: 0.5503 MB / 0.8795 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.5253, allocations: 469.7 kB / 0.8799 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.5255, allocations: 118.7 kB / 0.88 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.5257, allocations: 44.38 kB / 0.8801 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.5276, allocations: 0.821 MB / 0.8809 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.5276, allocations: 3.938 kB / 0.8809 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.389e-05/0.5277, allocations: 20 kB / 0.8809 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.5277, allocations: 12 kB / 0.8809 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.5301, allocations: 0.9992 MB / 0.8819 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.5342, allocations: 2.167 MB / 0.884 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/0.5373, allocations: 1.133 MB / 0.8851 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.5385, allocations: 0.4944 MB / 0.8856 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/0.5401, allocations: 1.761 MB / 0.8873 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.5414, allocations: 0.5865 MB / 0.8879 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 3.246e-06/0.5414, allocations: 0 / 0.8879 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.007149/0.5486, allocations: 2.112 MB / 0.8899 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.5487, allocations: 141 kB / 0.8901 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006642/0.5494, allocations: 485.8 kB / 0.8905 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.5494, allocations: 37.7 kB / 0.8906 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.5496, allocations: 264.9 kB / 0.8908 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.5498, allocations: 201.1 kB / 0.891 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.5499, allocations: 8 kB / 0.891 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.55, allocations: 366.8 kB / 0.8914 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.5511, allocations: 436.8 kB / 0.8918 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.5522, allocations: 0.5289 MB / 0.8923 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2595/0.8117, allocations: 0.8759 MB / 0.8932 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.8118, allocations: 3.188 kB / 0.8932 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004638/0.8164, allocations: 1.31 MB / 0.8945 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.8164, allocations: 5.781 kB / 0.8945 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8165, allocations: 8.891 kB / 0.8945 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009111/0.8174, allocations: 207.7 kB / 0.8947 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/0.8183, allocations: 186.1 kB / 0.8948 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004662/0.823, allocations: 2.215 MB / 0.897 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.824, allocations: 153.2 kB / 0.8972 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.8241, allocations: 28.58 kB / 0.8972 GB, free: 134.8 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.0003404/0.8244, allocations: 211.4 kB / 0.8974 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.8246, allocations: 60.44 kB / 0.8974 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003877/0.8284, allocations: 1.338 MB / 0.8987 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.8285, allocations: 8.25 kB / 0.8988 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.8285, allocations: 4.297 kB / 0.8988 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.8285, allocations: 3.141 kB / 0.8988 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.8332, allocations: 2.16 MB / 0.9009 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8333, allocations: 9.094 kB / 0.9009 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009223/0.8342, allocations: 179.4 kB / 0.9011 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000763/0.835, allocations: 169.3 kB / 0.9012 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.8351, allocations: 27.31 kB / 0.9012 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.8381, allocations: 1.996 MB / 0.9032 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8381, allocations: 1.25 kB / 0.9032 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.8412, allocations: 1.302 MB / 0.9045 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.8416, allocations: 241.4 kB / 0.9047 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/0.8417, allocations: 13.66 kB / 0.9047 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007224/0.8424, allocations: 114.2 kB / 0.9048 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.8426, allocations: 54.31 kB / 0.9049 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.8426, allocations: 30.98 kB / 0.9049 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004069/0.8431, allocations: 341.3 kB / 0.9052 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8431, allocations: 0 / 0.9052 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001029/0.8441, allocations: 286.5 kB / 0.9055 GB, free: 132.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 (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.001232/0.8453, allocations: 0.5547 MB / 0.906 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00253/0.8479, allocations: 1.129 MB / 0.9071 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8479, allocations: 3.938 kB / 0.9071 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.8491, allocations: 0.6597 MB / 0.9078 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.8496, allocations: 68.36 kB / 0.9079 GB, free: 132 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.8518, allocations: 1.681 MB / 0.9095 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.8521, allocations: 0.8895 MB / 0.9104 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007069/0.8528, allocations: 147.3 kB / 0.9105 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.8531, allocations: 68.78 kB / 0.9106 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of SimCode: time 7.42e-07/0.8531, allocations: 0 / 0.9106 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01704/0.8701, allocations: 11.44 MB / 0.9217 GB, free: 127.8 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)