Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.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.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8068/0.8068, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001069/0.001069, allocations: 180.8 kB / 182.2 MB, free: 9.438 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.37/1.37, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0008951/0.0008951, allocations: 93.8 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 276.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.374e-05/1.386e-05, allocations: 0 / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3703, allocations: 82.78 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.517, allocations: 123.2 MB / 0.8777 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5173, allocations: 87.83 kB / 0.8777 GB, free: 4.551 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.06287/0.5802, allocations: 19.94 MB / 0.8972 GB, free: 496 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5803, allocations: 0 / 0.8972 GB, free: 496 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.078e-05/0.5803, allocations: 8 kB / 0.8972 GB, free: 488 kB / 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.3307/0.911, allocations: 0.8718 MB / 0.8981 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.9111, allocations: 9.344 kB / 0.8981 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002941/0.914, allocations: 496.3 kB / 0.8986 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007559/0.9148, allocations: 445 kB / 0.899 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.9149, allocations: 101.3 kB / 0.8991 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.915, allocations: 26.62 kB / 0.8991 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001234/0.9163, allocations: 0.6679 MB / 0.8998 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.9174, allocations: 0.6105 MB / 0.9003 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.9174, allocations: 1.062 kB / 0.9003 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.668e-05/0.9175, allocations: 2.312 kB / 0.9004 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.9175, allocations: 12.33 kB / 0.9004 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004291/0.9218, allocations: 2.12 MB / 0.9024 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.9239, allocations: 0.796 MB / 0.9032 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/0.9245, allocations: 344.2 kB / 0.9035 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.926, allocations: 1.765 MB / 0.9053 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006898/0.9267, allocations: 428.9 kB / 0.9057 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=58): time 3.747e-06/0.9267, allocations: 0 / 0.9057 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58): time 0.02597/0.9527, allocations: 3.185 MB / 0.9088 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.9528, allocations: 139.9 kB / 0.9089 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/0.9533, allocations: 366.2 kB / 0.9093 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.9535, allocations: 27.08 kB / 0.9093 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.9536, allocations: 258.6 kB / 0.9095 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.9538, allocations: 187.8 kB / 0.9097 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.9539, allocations: 4 kB / 0.9097 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.09e-05/0.954, allocations: 361 kB / 0.9101 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.9544, allocations: 288.5 kB / 0.9103 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.9548, allocations: 393.3 kB / 0.9107 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01807/0.9729, allocations: 2.313 MB / 0.913 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.973, allocations: 3.75 kB / 0.913 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.02425/0.9972, allocations: 3.273 MB / 0.9162 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.9973, allocations: 6.25 kB / 0.9162 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.9973, allocations: 3.25 kB / 0.9162 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0077/1.005, allocations: 0.7416 MB / 0.9169 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.006, allocations: 181.6 kB / 0.9171 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005562/1.012, allocations: 2.499 MB / 0.9195 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.013, allocations: 132.2 kB / 0.9196 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/1.013, allocations: 31.25 kB / 0.9197 GB, free: 116.8 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 {3} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001808/1.013, allocations: 117.9 kB / 0.9198 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.013, allocations: 52.36 kB / 0.9198 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01862/1.032, allocations: 3.072 MB / 0.9228 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.032, allocations: 10.67 kB / 0.9228 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.032, allocations: 0 / 0.9228 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.032, allocations: 6.797 kB / 0.9229 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.051, allocations: 3.825 MB / 0.9266 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/1.051, allocations: 0 / 0.9266 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008863/1.052, allocations: 177.1 kB / 0.9268 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/1.055, allocations: 330.6 kB / 0.9271 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/1.055, allocations: 17.61 kB / 0.9271 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/1.058, allocations: 2.03 MB / 0.9291 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.058, allocations: 3.953 kB / 0.9291 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/1.077, allocations: 3.02 MB / 0.932 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/1.077, allocations: 240.1 kB / 0.9323 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/1.077, allocations: 0 / 0.9323 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/1.078, allocations: 83.91 kB / 0.9323 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/1.078, allocations: 56.08 kB / 0.9324 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.624e-05/1.078, allocations: 23.97 kB / 0.9324 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003396/1.079, allocations: 291 kB / 0.9327 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.079, allocations: 4 kB / 0.9327 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001098/1.08, allocations: 270.9 kB / 0.933 GB, free: 108.1 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 (69): * Single equations (assignments): 67 * 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 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001308/1.081, allocations: 495.2 kB / 0.9334 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002701/1.084, allocations: 0.8969 MB / 0.9343 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.084, allocations: 0 / 0.9343 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/1.085, allocations: 0.5437 MB / 0.9348 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/1.086, allocations: 47.45 kB / 0.9349 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/1.087, allocations: 0.8216 MB / 0.9357 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/1.088, allocations: 0.897 MB / 0.9366 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007398/1.088, allocations: 131.9 kB / 0.9367 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/1.089, allocations: 75.31 kB / 0.9368 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of SimCode: time 3e-07/1.089, allocations: 0 / 0.9368 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01618/1.105, allocations: 10.55 MB / 0.9471 GB, free: 93.97 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1)