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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005575/0.005575, allocations: 170.2 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 271 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9174/0.9174, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004185, allocations: 12.66 kB / 0.5986 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1558, allocations: 88.55 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.003747/0.1596, allocations: 3.345 MB / 0.6884 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004655/0.1643, allocations: 3.383 MB / 0.6917 GB, free: 8.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.1646, allocations: 7.938 kB / 0.6917 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.1649, allocations: 107.2 kB / 0.6918 GB, free: 8.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009327/0.1659, allocations: 377.5 kB / 0.6922 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.1666, allocations: 336.3 kB / 0.6925 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006206/0.1672, allocations: 0.698 MB / 0.6932 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.1675, allocations: 183.6 kB / 0.6933 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.1678, allocations: 251.7 kB / 0.6936 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/0.1682, allocations: 279.2 kB / 0.6938 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.1683, allocations: 20 kB / 0.6939 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007521/0.169, allocations: 459.5 kB / 0.6943 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1692, allocations: 119.4 kB / 0.6944 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.1694, allocations: 296 kB / 0.6947 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009863/0.1704, allocations: 1.016 MB / 0.6957 GB, free: 4.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1704, allocations: 0 / 0.6957 GB, free: 4.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1704, allocations: 0 / 0.6957 GB, free: 4.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.1705, allocations: 0 / 0.6957 GB, free: 4.266 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.001663/0.1721, allocations: 0.8785 MB / 0.6965 GB, free: 3.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1722, allocations: 12.03 kB / 0.6966 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/0.1754, allocations: 0.5776 MB / 0.6971 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.1767, allocations: 0.6313 MB / 0.6977 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.1769, allocations: 118.7 kB / 0.6978 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/0.177, allocations: 47.94 kB / 0.6979 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.1783, allocations: 0.6636 MB / 0.6985 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1784, allocations: 0 / 0.6985 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.1785, allocations: 27.98 kB / 0.6986 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1785, allocations: 19.88 kB / 0.6986 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.1802, allocations: 0.6947 MB / 0.6993 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.1834, allocations: 1.766 MB / 0.701 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.186, allocations: 0.8218 MB / 0.7018 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007722/0.1868, allocations: 330 kB / 0.7021 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/0.1886, allocations: 1.765 MB / 0.7038 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008941/0.1895, allocations: 401.1 kB / 0.7042 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.835e-06/0.1895, allocations: 0 / 0.7042 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002473/0.192, allocations: 0.9317 MB / 0.7051 GB, free: 10 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.192, allocations: 107.2 kB / 0.7052 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.1926, allocations: 431.1 kB / 0.7056 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.1926, allocations: 33.7 kB / 0.7057 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1928, allocations: 272.5 kB / 0.7059 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.193, allocations: 181.4 kB / 0.7061 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.049e-05/0.1931, allocations: 49.69 kB / 0.7061 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1932, allocations: 362.7 kB / 0.7065 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/0.1939, allocations: 276.9 kB / 0.7068 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/0.1948, allocations: 416.6 kB / 0.7072 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.1963, allocations: 0.6633 MB / 0.7078 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1963, allocations: 0 / 0.7078 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001767/0.1981, allocations: 0.7716 MB / 0.7086 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.1981, allocations: 9.875 kB / 0.7086 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1981, allocations: 4 kB / 0.7086 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1982, allocations: 4.219 kB / 0.7086 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.1997, allocations: 251.7 kB / 0.7088 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.2013, allocations: 1.475 MB / 0.7103 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/0.2021, allocations: 91.38 kB / 0.7103 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.2022, allocations: 31.97 kB / 0.7104 GB, free: 4.324 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 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000375/0.2025, allocations: 218.9 kB / 0.7106 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/0.2026, allocations: 55.28 kB / 0.7106 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.2051, allocations: 0.9464 MB / 0.7116 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.2051, allocations: 8 kB / 0.7116 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.2052, allocations: 3.938 kB / 0.7116 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.2052, allocations: 3.984 kB / 0.7116 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.2081, allocations: 1.618 MB / 0.7132 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2082, allocations: 0 / 0.7132 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/0.2089, allocations: 147.8 kB / 0.7133 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.2093, allocations: 68.8 kB / 0.7134 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.2094, allocations: 19.92 kB / 0.7134 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.2108, allocations: 1.469 MB / 0.7148 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2108, allocations: 0 / 0.7148 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.2129, allocations: 0.9058 MB / 0.7157 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.2131, allocations: 212.1 kB / 0.7159 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-05/0.2132, allocations: 16.06 kB / 0.7159 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.2138, allocations: 63.94 kB / 0.716 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2139, allocations: 40.5 kB / 0.716 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.214, allocations: 23.98 kB / 0.716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003124/0.2143, allocations: 299.1 kB / 0.7163 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2143, allocations: 0 / 0.7163 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007208/0.2151, allocations: 231.6 kB / 0.7165 GB, free: 13.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/0.2162, allocations: 0.5033 MB / 0.717 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00243/0.2186, allocations: 0.7691 MB / 0.7178 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.2187, allocations: 4.438 kB / 0.7178 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009933/0.2197, allocations: 0.4937 MB / 0.7183 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2202, allocations: 70.97 kB / 0.7183 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.2223, allocations: 1.521 MB / 0.7198 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.2227, allocations: 0.8736 MB / 0.7207 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000681/0.2234, allocations: 148.5 kB / 0.7208 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.2236, allocations: 75.39 kB / 0.7209 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.2237, allocations: 0 / 0.7209 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of Templates: time 0.0139/0.2376, allocations: 8.338 MB / 0.729 GB, free: 1.074 MB / 0.5137 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)