Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.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.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008257/0.0008257, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008876/0.0008876, allocations: 168.7 kB / 15.95 MB, free: 204 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.329/1.329, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 258.8 kB / 291.3 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9535/0.9535, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004327, allocations: 9.656 kB / 0.598 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1752, allocations: 88.54 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004067/0.1793, allocations: 3.215 MB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.1841, allocations: 3.195 MB / 0.6907 GB, free: 9.078 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.1845, allocations: 11.94 kB / 0.6907 GB, free: 9.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.1849, allocations: 91.33 kB / 0.6908 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.1859, allocations: 368.6 kB / 0.6912 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.1867, allocations: 276.1 kB / 0.6914 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006887/0.1874, allocations: 0.6631 MB / 0.6921 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.1877, allocations: 154.8 kB / 0.6922 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.188, allocations: 242.9 kB / 0.6925 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.1884, allocations: 256.2 kB / 0.6927 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.1885, allocations: 20 kB / 0.6927 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008621/0.1894, allocations: 447.5 kB / 0.6932 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1895, allocations: 115.5 kB / 0.6933 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1897, allocations: 133.3 kB / 0.6934 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008716/0.1905, allocations: 0.7949 MB / 0.6942 GB, free: 5.547 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1905, allocations: 4 kB / 0.6942 GB, free: 5.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1906, allocations: 0 / 0.6942 GB, free: 5.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1906, allocations: 0 / 0.6942 GB, free: 5.543 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001697/0.1923, allocations: 0.8667 MB / 0.695 GB, free: 4.621 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1923, allocations: 11.97 kB / 0.695 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/0.1956, allocations: 0.6353 MB / 0.6957 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.1971, allocations: 0.6147 MB / 0.6963 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.1972, allocations: 118.1 kB / 0.6964 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.734e-05/0.1973, allocations: 48 kB / 0.6964 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.1989, allocations: 0.6986 MB / 0.6971 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1989, allocations: 3.953 kB / 0.6971 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.199, allocations: 24 kB / 0.6971 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.199, allocations: 8 kB / 0.6971 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.2009, allocations: 0.765 MB / 0.6979 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/0.2043, allocations: 1.821 MB / 0.6997 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.207, allocations: 0.8438 MB / 0.7005 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009377/0.2079, allocations: 377.9 kB / 0.7008 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001713/0.2097, allocations: 1.761 MB / 0.7026 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.2107, allocations: 454.7 kB / 0.703 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.885e-06/0.2107, allocations: 0 / 0.703 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.006151/0.2169, allocations: 1.64 MB / 0.7046 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.217, allocations: 111.4 kB / 0.7047 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.2175, allocations: 410 kB / 0.7051 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.2176, allocations: 33.7 kB / 0.7051 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.2178, allocations: 276.5 kB / 0.7054 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.218, allocations: 181.3 kB / 0.7056 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.218, allocations: 12 kB / 0.7056 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2182, allocations: 366.8 kB / 0.7059 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008183/0.219, allocations: 309.1 kB / 0.7062 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008945/0.2199, allocations: 445.4 kB / 0.7066 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008502/0.2208, allocations: 334 kB / 0.707 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2208, allocations: 4 kB / 0.707 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003322/0.2241, allocations: 1.053 MB / 0.708 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.2241, allocations: 8 kB / 0.708 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2242, allocations: 4 kB / 0.708 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006833/0.2248, allocations: 145 kB / 0.7081 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/0.2256, allocations: 163.7 kB / 0.7083 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.2301, allocations: 2.004 MB / 0.7103 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/0.231, allocations: 104.2 kB / 0.7104 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.069e-05/0.2311, allocations: 31.97 kB / 0.7104 GB, free: 4.066 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): 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.000435/0.2316, allocations: 209.6 kB / 0.7106 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.2317, allocations: 55.28 kB / 0.7106 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/0.2348, allocations: 1.056 MB / 0.7117 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.2348, allocations: 12 kB / 0.7117 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2349, allocations: 0 / 0.7117 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.2349, allocations: 15.88 kB / 0.7117 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003718/0.2386, allocations: 1.751 MB / 0.7134 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2386, allocations: 0 / 0.7134 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.2393, allocations: 143.8 kB / 0.7135 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006517/0.24, allocations: 128.7 kB / 0.7137 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.24, allocations: 19.98 kB / 0.7137 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.243, allocations: 1.793 MB / 0.7154 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.243, allocations: 4.031 kB / 0.7154 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.2458, allocations: 1.015 MB / 0.7164 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.2462, allocations: 212.1 kB / 0.7166 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/0.2463, allocations: 23.89 kB / 0.7167 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005905/0.2469, allocations: 61.25 kB / 0.7167 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.247, allocations: 48.48 kB / 0.7168 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/0.247, allocations: 23.98 kB / 0.7168 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000355/0.2474, allocations: 283.1 kB / 0.7171 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2474, allocations: 4 kB / 0.7171 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000824/0.2482, allocations: 240.8 kB / 0.7173 GB, free: 12.73 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 (66): * Single equations (assignments): 64 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/0.2495, allocations: 0.4949 MB / 0.7178 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.2515, allocations: 0.8696 MB / 0.7186 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2516, allocations: 192 / 0.7186 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.2526, allocations: 0.5172 MB / 0.7191 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.2531, allocations: 66.64 kB / 0.7192 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.2555, allocations: 1.543 MB / 0.7207 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.256, allocations: 0.8775 MB / 0.7216 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007437/0.2568, allocations: 152.5 kB / 0.7217 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.257, allocations: 67.39 kB / 0.7218 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.257, allocations: 0 / 0.7218 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of Templates: time 0.01749/0.2745, allocations: 9.77 MB / 0.7313 GB, free: 14.49 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1)