Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.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.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7235/0.7235, allocations: 140.1 MB / 156 MB, free: 5.18 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.001037/0.001037, allocations: 177.5 kB / 188.5 MB, free: 15.84 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.544/1.544, allocations: 205.4 MB / 426.3 MB, free: 8.477 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.0007728/0.0007727, allocations: 102.4 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.001619/0.001619, allocations: 268.2 kB / 0.5728 GB, free: 66.25 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004467, allocations: 27.98 kB / 0.662 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3626, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.5072, allocations: 121.5 MB / 0.8581 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5075, allocations: 95.94 kB / 0.8582 GB, free: 4.621 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.05765/0.5651, allocations: 19.73 MB / 0.8774 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.617e-06/0.5652, allocations: 0 / 0.8774 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.458e-05/0.5652, allocations: 15.94 kB / 0.8775 GB, free: 0.7266 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002146/0.5674, allocations: 0.8985 MB / 0.8783 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5674, allocations: 8.031 kB / 0.8783 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/0.57, allocations: 495.6 kB / 0.8788 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.5709, allocations: 457.8 kB / 0.8793 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.571, allocations: 118.7 kB / 0.8794 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.5712, allocations: 44.36 kB / 0.8794 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.5729, allocations: 0.7617 MB / 0.8802 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.573, allocations: 3.938 kB / 0.8802 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.573, allocations: 20 kB / 0.8802 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.5731, allocations: 12 kB / 0.8802 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.5753, allocations: 0.9055 MB / 0.8811 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/0.5795, allocations: 2.017 MB / 0.883 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.5826, allocations: 1.088 MB / 0.8841 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.5837, allocations: 441.9 kB / 0.8845 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/0.5855, allocations: 1.757 MB / 0.8862 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.5867, allocations: 0.5065 MB / 0.8867 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=55): time 2.785e-06/0.5867, allocations: 0 / 0.8867 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55): time 0.003095/0.5898, allocations: 1.264 MB / 0.888 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.5899, allocations: 133.1 kB / 0.8881 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007633/0.5907, allocations: 481.8 kB / 0.8886 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.5908, allocations: 33.7 kB / 0.8886 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.591, allocations: 264.9 kB / 0.8888 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.5912, allocations: 189.3 kB / 0.889 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.5913, allocations: 11.94 kB / 0.889 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5914, allocations: 362.8 kB / 0.8894 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009351/0.5924, allocations: 384.9 kB / 0.8898 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.5934, allocations: 499.3 kB / 0.8902 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.5953, allocations: 0.8103 MB / 0.891 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5953, allocations: 7.938 kB / 0.891 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002305/0.5976, allocations: 0.9512 MB / 0.892 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5977, allocations: 8 kB / 0.892 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.5977, allocations: 3.984 kB / 0.892 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5977, allocations: 4 kB / 0.892 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004107/0.6018, allocations: 0.5188 MB / 0.8925 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3136/0.9155, allocations: 1.638 MB / 0.8941 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.9167, allocations: 139.5 kB / 0.8942 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/0.9168, allocations: 28.59 kB / 0.8942 GB, free: 135.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004293/0.9172, allocations: 204.7 kB / 0.8944 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.9173, allocations: 56.22 kB / 0.8945 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.9209, allocations: 1.189 MB / 0.8956 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.9209, allocations: 7.031 kB / 0.8957 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.9209, allocations: 0 / 0.8957 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.921, allocations: 7.875 kB / 0.8957 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/0.9254, allocations: 1.982 MB / 0.8976 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.9254, allocations: 1.062 kB / 0.8976 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/0.9262, allocations: 178.4 kB / 0.8978 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008183/0.9271, allocations: 117.8 kB / 0.8979 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.9271, allocations: 18.62 kB / 0.8979 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.9289, allocations: 1.641 MB / 0.8995 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9289, allocations: 0 / 0.8995 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.932, allocations: 1.152 MB / 0.9006 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.9324, allocations: 238.5 kB / 0.9009 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.9325, allocations: 19.12 kB / 0.9009 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006866/0.9332, allocations: 93.5 kB / 0.901 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.9333, allocations: 52.64 kB / 0.901 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.9334, allocations: 29.38 kB / 0.901 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005454/0.9339, allocations: 334.8 kB / 0.9014 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.934, allocations: 0 / 0.9014 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001196/0.9352, allocations: 282.6 kB / 0.9016 GB, free: 133.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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.001255/0.9364, allocations: 0.5465 MB / 0.9022 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005064/0.9415, allocations: 1.139 MB / 0.9033 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9415, allocations: 3.188 kB / 0.9033 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.9428, allocations: 0.61 MB / 0.9039 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.9435, allocations: 68.33 kB / 0.9039 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.9458, allocations: 1.609 MB / 0.9055 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.9461, allocations: 0.8781 MB / 0.9064 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006913/0.9468, allocations: 143.3 kB / 0.9065 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.947, allocations: 66.59 kB / 0.9066 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.947, allocations: 0 / 0.9066 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.01407/0.9611, allocations: 9.567 MB / 0.9159 GB, free: 131 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1)