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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009631/0.0009631, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000997/0.000997, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 270.8 kB / 291.3 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9583/0.9583, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006775/0.0006776, allocations: 11.81 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2151, allocations: 88.54 MB / 0.6845 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.005979/0.2211, allocations: 3.192 MB / 0.6876 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007148/0.2283, allocations: 3.214 MB / 0.6907 GB, free: 9.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004973/0.2288, allocations: 7.938 kB / 0.6907 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.2294, allocations: 103.3 kB / 0.6908 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.2311, allocations: 364.3 kB / 0.6912 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.2323, allocations: 297.8 kB / 0.6915 GB, free: 8.344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2336, allocations: 0.6941 MB / 0.6921 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.234, allocations: 158.3 kB / 0.6923 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000628/0.2347, allocations: 255.5 kB / 0.6925 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007569/0.2355, allocations: 284.1 kB / 0.6928 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.2356, allocations: 24.75 kB / 0.6928 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.2369, allocations: 447.4 kB / 0.6933 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.2372, allocations: 119.5 kB / 0.6934 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.2374, allocations: 125.4 kB / 0.6935 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.2389, allocations: 0.8299 MB / 0.6943 GB, free: 5.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2389, allocations: 0 / 0.6943 GB, free: 5.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2389, allocations: 0 / 0.6943 GB, free: 5.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.2389, allocations: 0 / 0.6943 GB, free: 5.43 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002983/0.2419, allocations: 0.8941 MB / 0.6952 GB, free: 4.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.242, allocations: 8.031 kB / 0.6952 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/0.2465, allocations: 0.5806 MB / 0.6957 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.2486, allocations: 0.6186 MB / 0.6964 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.2488, allocations: 118.1 kB / 0.6965 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.249, allocations: 40 kB / 0.6965 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.2513, allocations: 0.6908 MB / 0.6972 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.2513, allocations: 0 / 0.6972 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.2514, allocations: 24 kB / 0.6972 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.2514, allocations: 12 kB / 0.6972 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.2541, allocations: 0.7143 MB / 0.6979 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/0.2581, allocations: 1.879 MB / 0.6997 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.2607, allocations: 0.8286 MB / 0.7006 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008145/0.2615, allocations: 358.2 kB / 0.7009 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/0.2634, allocations: 1.769 MB / 0.7026 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009759/0.2644, allocations: 430.9 kB / 0.703 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=56): time 2.555e-06/0.2644, allocations: 0 / 0.703 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.006153/0.2706, allocations: 1.503 MB / 0.7045 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.2707, allocations: 115.4 kB / 0.7046 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.2712, allocations: 401.9 kB / 0.705 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.2713, allocations: 37.7 kB / 0.705 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.2715, allocations: 268.6 kB / 0.7053 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.2716, allocations: 189.2 kB / 0.7055 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.2717, allocations: 16 kB / 0.7055 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2718, allocations: 358.8 kB / 0.7058 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007025/0.2725, allocations: 297.1 kB / 0.7061 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/0.2733, allocations: 429.4 kB / 0.7065 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.2741, allocations: 326 kB / 0.7068 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.2741, allocations: 0 / 0.7068 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00384/0.2779, allocations: 1.077 MB / 0.7079 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.278, allocations: 4 kB / 0.7079 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.278, allocations: 4 kB / 0.7079 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002818/0.2808, allocations: 384.8 kB / 0.7083 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/0.2817, allocations: 163.7 kB / 0.7084 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/0.2853, allocations: 2.015 MB / 0.7104 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.286, allocations: 92.17 kB / 0.7105 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/0.2861, allocations: 31.97 kB / 0.7105 GB, free: 3.957 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (70): * Single equations (assignments): 69 * 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.0003417/0.2865, allocations: 212 kB / 0.7107 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.2866, allocations: 55.33 kB / 0.7108 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.2896, allocations: 1.066 MB / 0.7118 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.2896, allocations: 8 kB / 0.7118 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2896, allocations: 0 / 0.7118 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/0.2897, allocations: 7.984 kB / 0.7118 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.2933, allocations: 1.773 MB / 0.7135 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2934, allocations: 4 kB / 0.7135 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/0.2941, allocations: 147.8 kB / 0.7137 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.2952, allocations: 188.6 kB / 0.7139 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.2952, allocations: 23.98 kB / 0.7139 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/0.2977, allocations: 1.766 MB / 0.7156 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2977, allocations: 0 / 0.7156 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.3004, allocations: 1.022 MB / 0.7166 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.3007, allocations: 220.1 kB / 0.7168 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3008, allocations: 12 kB / 0.7168 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.3014, allocations: 57.25 kB / 0.7169 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3015, allocations: 48.59 kB / 0.7169 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.3016, allocations: 28.11 kB / 0.717 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003569/0.302, allocations: 279.1 kB / 0.7172 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.302, allocations: 0 / 0.7172 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008053/0.3028, allocations: 244.8 kB / 0.7175 GB, free: 12.57 MB / 0.5137 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 (67): * Single equations (assignments): 65 * 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.001186/0.304, allocations: 0.5001 MB / 0.7179 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.3061, allocations: 0.8873 MB / 0.7188 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3061, allocations: 4.25 kB / 0.7188 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3073, allocations: 0.549 MB / 0.7194 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.3078, allocations: 64.19 kB / 0.7194 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.3102, allocations: 1.518 MB / 0.7209 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.3107, allocations: 0.8815 MB / 0.7218 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007666/0.3115, allocations: 148.4 kB / 0.7219 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.3117, allocations: 67.39 kB / 0.722 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.3117, allocations: 3.938 kB / 0.722 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of Templates: time 0.0179/0.3296, allocations: 9.394 MB / 0.7311 GB, free: 14.68 MB / 0.5294 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)