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.8028/0.8028, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.0009988/0.0009988, allocations: 173 kB / 182.2 MB, free: 9.457 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.391/1.391, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009071/0.0009069, allocations: 88.09 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 275 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.385e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3515, allocations: 82.77 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.5013, allocations: 122.9 MB / 0.8774 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.5016, allocations: 83.83 kB / 0.8775 GB, free: 4.812 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.05903/0.5606, allocations: 19.84 MB / 0.8969 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5607, allocations: 0 / 0.8969 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.696e-05/0.5607, allocations: 16 kB / 0.8969 GB, free: 0.8281 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.3589/0.9197, allocations: 0.863 MB / 0.8977 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.9197, allocations: 9.219 kB / 0.8977 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003593/0.9233, allocations: 0.5455 MB / 0.8983 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.9242, allocations: 453 kB / 0.8987 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.9244, allocations: 102 kB / 0.8988 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.884e-05/0.9244, allocations: 31.19 kB / 0.8988 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/0.9257, allocations: 0.6715 MB / 0.8995 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.9268, allocations: 0.603 MB / 0.9001 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.9269, allocations: 1.188 kB / 0.9001 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.9269, allocations: 0 / 0.9001 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.927, allocations: 11.5 kB / 0.9001 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.9312, allocations: 2.074 MB / 0.9021 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.9333, allocations: 0.7996 MB / 0.9029 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/0.9339, allocations: 335.1 kB / 0.9032 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.9353, allocations: 1.766 MB / 0.9049 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008064/0.9362, allocations: 420.5 kB / 0.9053 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 2.504e-06/0.9362, allocations: 0 / 0.9053 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.02313/0.9593, allocations: 3.166 MB / 0.9084 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.9594, allocations: 139 kB / 0.9086 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.9599, allocations: 390.6 kB / 0.9089 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.96, allocations: 25.7 kB / 0.909 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.9602, allocations: 258 kB / 0.9092 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.9603, allocations: 197.6 kB / 0.9094 GB, free: 120 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.9604, allocations: 0 / 0.9094 GB, free: 120 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.9605, allocations: 359.6 kB / 0.9097 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.9609, allocations: 284.4 kB / 0.91 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.9613, allocations: 367.4 kB / 0.9104 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01898/0.9803, allocations: 2.568 MB / 0.9129 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.9803, allocations: 0 / 0.9129 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0211/1.001, allocations: 3.249 MB / 0.916 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.001, allocations: 3.344 kB / 0.916 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.002, allocations: 3.812 kB / 0.916 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007138/1.002, allocations: 155.8 kB / 0.9162 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/1.003, allocations: 184.1 kB / 0.9164 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/1.006, allocations: 1.92 MB / 0.9182 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/1.007, allocations: 137.9 kB / 0.9184 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.89e-05/1.007, allocations: 31.83 kB / 0.9184 GB, free: 117.1 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 () * 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.0001657/1.008, allocations: 118 kB / 0.9185 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.008, allocations: 52.47 kB / 0.9186 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02004/1.028, allocations: 3.316 MB / 0.9218 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.028, allocations: 7.781 kB / 0.9218 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.028, allocations: 3.75 kB / 0.9218 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.028, allocations: 3.891 kB / 0.9218 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02048/1.048, allocations: 4.091 MB / 0.9258 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.048, allocations: 0 / 0.9258 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/1.049, allocations: 183.2 kB / 0.926 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005095/1.05, allocations: 142 kB / 0.9261 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/1.05, allocations: 14.47 kB / 0.9261 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/1.053, allocations: 1.957 MB / 0.928 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.053, allocations: 0 / 0.928 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/1.072, allocations: 3.284 MB / 0.9313 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/1.073, allocations: 245.4 kB / 0.9315 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.073, allocations: 0 / 0.9315 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008862/1.074, allocations: 100.7 kB / 0.9316 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.074, allocations: 57.44 kB / 0.9316 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/1.074, allocations: 27.97 kB / 0.9317 GB, free: 109 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003262/1.074, allocations: 307.7 kB / 0.932 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.074, allocations: 0 / 0.932 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009137/1.075, allocations: 272.1 kB / 0.9322 GB, free: 108.5 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 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/1.076, allocations: 497.1 kB / 0.9327 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001357/1.078, allocations: 0.8092 MB / 0.9335 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.078, allocations: 4 kB / 0.9335 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006706/1.079, allocations: 0.505 MB / 0.934 GB, free: 107 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/1.079, allocations: 33.58 kB / 0.934 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/1.08, allocations: 0.8563 MB / 0.9348 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/1.081, allocations: 0.8931 MB / 0.9357 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007186/1.081, allocations: 146.1 kB / 0.9359 GB, free: 105 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/1.082, allocations: 67.39 kB / 0.9359 GB, free: 105 MB / 0.5573 GB Notification: Performance of SimCode: time 6.22e-07/1.082, allocations: 4 kB / 0.9359 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.01611/1.098, allocations: 11.23 MB / 0.9469 GB, free: 93.86 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)