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 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.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.7969/0.7969, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001032/0.001032, allocations: 188.1 kB / 182.2 MB, free: 9.465 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.371/1.371, 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.0008524/0.0008524, allocations: 92.03 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.001837/0.001837, allocations: 273 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.321e-05/1.323e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3596, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5073, allocations: 122.6 MB / 0.8771 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5076, allocations: 83.84 kB / 0.8772 GB, free: 5.105 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.05806/0.5657, allocations: 19.55 MB / 0.8963 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5657, allocations: 0 / 0.8963 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.71e-05/0.5658, allocations: 12 kB / 0.8963 GB, free: 1.422 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001847/0.5676, allocations: 0.8478 MB / 0.8971 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5677, allocations: 15.91 kB / 0.8972 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.5703, allocations: 495 kB / 0.8976 GB, free: 24 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3431/0.9135, allocations: 427.6 kB / 0.898 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.9137, allocations: 102 kB / 0.8981 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.9138, allocations: 26.75 kB / 0.8982 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001422/0.9153, allocations: 0.6377 MB / 0.8988 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.9164, allocations: 0.5719 MB / 0.8993 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.9164, allocations: 3.844 kB / 0.8993 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.9165, allocations: 1.516 kB / 0.8993 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.9165, allocations: 10.94 kB / 0.8994 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.9209, allocations: 1.929 MB / 0.9012 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.9229, allocations: 0.76 MB / 0.902 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.9235, allocations: 305.9 kB / 0.9023 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/0.925, allocations: 1.76 MB / 0.904 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/0.9256, allocations: 390.3 kB / 0.9044 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=55): time 2.865e-06/0.9256, allocations: 1.375 kB / 0.9044 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55): time 0.01988/0.9455, allocations: 2.609 MB / 0.9069 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.9456, allocations: 139.8 kB / 0.907 GB, free: 121 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.9462, allocations: 382 kB / 0.9074 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.9463, allocations: 34.55 kB / 0.9074 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.9465, allocations: 263.5 kB / 0.9077 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.9466, allocations: 177.1 kB / 0.9079 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.9467, allocations: 0 / 0.9079 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.9468, allocations: 354.4 kB / 0.9082 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.9472, allocations: 262.7 kB / 0.9084 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.9478, allocations: 360.8 kB / 0.9088 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01807/0.9659, allocations: 2.294 MB / 0.911 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.9659, allocations: 0 / 0.911 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.01858/0.9845, allocations: 2.704 MB / 0.9137 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.9846, allocations: 9.469 kB / 0.9137 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.9846, allocations: 0 / 0.9137 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.9847, allocations: 7.781 kB / 0.9137 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/0.989, allocations: 0.5143 MB / 0.9142 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.9909, allocations: 1.59 MB / 0.9157 GB, free: 118 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.9919, allocations: 125.4 kB / 0.9159 GB, free: 118 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.992, allocations: 30.38 kB / 0.9159 GB, free: 118 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 () * 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.0001751/0.9922, allocations: 118.2 kB / 0.916 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.9923, allocations: 52.88 kB / 0.9161 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01757/1.01, allocations: 2.876 MB / 0.9189 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.01, allocations: 10.42 kB / 0.9189 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.01, allocations: 0 / 0.9189 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.01, allocations: 3.938 kB / 0.9189 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/1.028, allocations: 3.591 MB / 0.9224 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.028, allocations: 0 / 0.9224 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008437/1.029, allocations: 171.7 kB / 0.9225 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008222/1.03, allocations: 119.6 kB / 0.9227 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/1.03, allocations: 14.88 kB / 0.9227 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/1.031, allocations: 1.581 MB / 0.9242 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.031, allocations: 4.062 kB / 0.9242 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/1.048, allocations: 2.832 MB / 0.927 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/1.049, allocations: 235.2 kB / 0.9272 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.99e-05/1.049, allocations: 0 / 0.9272 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000747/1.05, allocations: 87.19 kB / 0.9273 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.05, allocations: 46.52 kB / 0.9273 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/1.05, allocations: 29.22 kB / 0.9274 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002959/1.05, allocations: 295.6 kB / 0.9277 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.9e-07/1.05, allocations: 0 / 0.9277 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008087/1.051, allocations: 268.3 kB / 0.9279 GB, free: 112.3 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 (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.001043/1.052, allocations: 496.4 kB / 0.9284 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003394/1.055, allocations: 0.8631 MB / 0.9292 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.055, allocations: 0 / 0.9292 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007653/1.056, allocations: 483.5 kB / 0.9297 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/1.056, allocations: 39.48 kB / 0.9297 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/1.058, allocations: 0.8021 MB / 0.9305 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/1.058, allocations: 0.8892 MB / 0.9314 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006694/1.059, allocations: 139.5 kB / 0.9315 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/1.059, allocations: 69.59 kB / 0.9316 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of SimCode: time 2.91e-07/1.059, allocations: 0 / 0.9316 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.01287/1.072, allocations: 8.825 MB / 0.9402 GB, free: 101.1 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)