Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.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.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009759/0.0009761, allocations: 91.22 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.0008926/0.0008926, 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.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 273.1 kB / 291.3 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9448/0.9448, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004194, allocations: 20.05 kB / 0.598 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1575, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.003718/0.1612, allocations: 3.231 MB / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.1658, allocations: 3.195 MB / 0.6907 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.1661, allocations: 7.938 kB / 0.6908 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.1665, allocations: 99.31 kB / 0.6908 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.1675, allocations: 368.4 kB / 0.6912 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.1682, allocations: 267.6 kB / 0.6915 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006609/0.1689, allocations: 0.6518 MB / 0.6921 GB, free: 7.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.1691, allocations: 159 kB / 0.6922 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.1695, allocations: 238.9 kB / 0.6925 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.1699, allocations: 259.7 kB / 0.6927 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/0.1699, allocations: 20 kB / 0.6927 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008085/0.1707, allocations: 447.4 kB / 0.6932 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.1709, allocations: 111.5 kB / 0.6933 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.171, allocations: 125.4 kB / 0.6934 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.1718, allocations: 0.7949 MB / 0.6942 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1718, allocations: 0 / 0.6942 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1718, allocations: 0 / 0.6942 GB, free: 5.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1718, allocations: 0 / 0.6942 GB, free: 5.523 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.001588/0.1734, allocations: 0.8745 MB / 0.695 GB, free: 4.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1735, allocations: 8.031 kB / 0.695 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.1767, allocations: 0.643 MB / 0.6957 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.1781, allocations: 0.6069 MB / 0.6962 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.1782, allocations: 122.1 kB / 0.6964 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/0.1783, allocations: 48 kB / 0.6964 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.1797, allocations: 0.6987 MB / 0.6971 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1798, allocations: 0 / 0.6971 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.1798, allocations: 23.95 kB / 0.6971 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1799, allocations: 12 kB / 0.6971 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.1818, allocations: 0.765 MB / 0.6979 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.1851, allocations: 1.817 MB / 0.6996 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.1877, allocations: 0.8511 MB / 0.7005 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/0.1886, allocations: 354 kB / 0.7008 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/0.1903, allocations: 1.765 MB / 0.7025 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009694/0.1913, allocations: 437 kB / 0.703 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.895e-06/0.1913, allocations: 0 / 0.703 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002628/0.194, allocations: 1.021 MB / 0.704 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.194, allocations: 111.2 kB / 0.7041 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.1945, allocations: 427.2 kB / 0.7045 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.1946, allocations: 37.69 kB / 0.7045 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.1948, allocations: 280.5 kB / 0.7048 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1949, allocations: 181.4 kB / 0.7049 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.195, allocations: 8 kB / 0.705 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1951, allocations: 358.8 kB / 0.7053 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007916/0.1959, allocations: 304.9 kB / 0.7056 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000895/0.1968, allocations: 454.8 kB / 0.706 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.1977, allocations: 326 kB / 0.7063 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1977, allocations: 0 / 0.7063 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001958/0.1997, allocations: 0.8223 MB / 0.7071 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.1997, allocations: 11.95 kB / 0.7071 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1998, allocations: 4 kB / 0.7071 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.1998, allocations: 4 kB / 0.7072 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008656/0.2007, allocations: 179.9 kB / 0.7073 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.2007, allocations: 8 kB / 0.7073 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.2013, allocations: 107.5 kB / 0.7074 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.2014, allocations: 27.97 kB / 0.7075 GB, free: 7.199 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): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003047/0.2017, allocations: 207 kB / 0.7077 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.301e-05/0.2018, allocations: 51.34 kB / 0.7077 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.204, allocations: 0.9142 MB / 0.7086 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.204, allocations: 4 kB / 0.7086 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.204, allocations: 0 / 0.7086 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.204, allocations: 7.984 kB / 0.7086 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.2068, allocations: 1.578 MB / 0.7102 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2069, allocations: 0 / 0.7102 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/0.2076, allocations: 155.8 kB / 0.7103 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.2076, allocations: 4 kB / 0.7103 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.2077, allocations: 19.92 kB / 0.7103 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2077, allocations: 4 kB / 0.7103 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2077, allocations: 0 / 0.7103 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.2095, allocations: 0.8698 MB / 0.7112 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.2098, allocations: 212.1 kB / 0.7114 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.2099, allocations: 16 kB / 0.7114 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.2104, allocations: 78.23 kB / 0.7115 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.2105, allocations: 40.5 kB / 0.7115 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.2106, allocations: 19.98 kB / 0.7115 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000344/0.2109, allocations: 299.1 kB / 0.7118 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.211, allocations: 0 / 0.7118 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007749/0.2117, allocations: 215.7 kB / 0.712 GB, free: 2.422 MB / 0.4981 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): 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/0.213, allocations: 0.4938 MB / 0.7125 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.2147, allocations: 0.73 MB / 0.7132 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2148, allocations: 0 / 0.7132 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008242/0.2156, allocations: 391.4 kB / 0.7136 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.2161, allocations: 70.77 kB / 0.7137 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.2188, allocations: 1.511 MB / 0.7151 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.2193, allocations: 0.8775 MB / 0.716 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007681/0.2201, allocations: 160.4 kB / 0.7161 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.2203, allocations: 71.39 kB / 0.7162 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.2203, allocations: 0 / 0.7162 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.01497/0.2353, allocations: 8.128 MB / 0.7241 GB, free: 6.137 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1)