Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.3 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 181.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000904/0.0009042, allocations: 89.69 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003869, allocations: 11.31 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2265, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.007867/0.2344, allocations: 8.173 MB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6389/0.8733, allocations: 129.7 MB / 1.114 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.8751, allocations: 32.91 kB / 1.114 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009402/0.8761, allocations: 174.8 kB / 1.114 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.8793, allocations: 0.8036 MB / 1.115 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005903/0.8852, allocations: 1.118 MB / 1.116 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005943/0.8912, allocations: 1.684 MB / 1.118 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006598/0.8978, allocations: 2.294 MB / 1.12 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/0.9009, allocations: 0.8194 MB / 1.121 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002596/0.9036, allocations: 0.8685 MB / 1.122 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000505/0.9041, allocations: 64.16 kB / 1.122 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.9061, allocations: 395.1 kB / 1.122 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006283/0.9068, allocations: 451.8 kB / 1.123 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007535/0.9076, allocations: 457 kB / 1.123 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00446/0.912, allocations: 3.15 MB / 1.126 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.9121, allocations: 0 / 1.126 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9121, allocations: 0 / 1.126 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.015e-05/0.9122, allocations: 2.625 kB / 1.126 GB, free: 0.6914 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.007976/0.9202, allocations: 2.382 MB / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.9203, allocations: 12.88 kB / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/0.9381, allocations: 1.666 MB / 1.13 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/0.9415, allocations: 1.4 MB / 1.131 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.9417, allocations: 187.6 kB / 1.132 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005151/0.9423, allocations: 249.5 kB / 1.132 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008336/0.9506, allocations: 3.405 MB / 1.135 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.558e-05/0.9507, allocations: 7.312 kB / 1.135 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/0.951, allocations: 112.4 kB / 1.135 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.9511, allocations: 116.9 kB / 1.135 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/0.9633, allocations: 3.918 MB / 1.139 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01939/0.9827, allocations: 10.06 MB / 1.149 GB, free: 6.102 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007318/0.9901, allocations: 2.704 MB / 1.152 GB, free: 5.574 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008366/0.9909, allocations: 0.5822 MB / 1.152 GB, free: 4.973 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003755/0.9947, allocations: 1.508 MB / 1.154 GB, free: 4.477 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 3.978e-06/0.9947, allocations: 1.859 kB / 1.154 GB, free: 4.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01107/1.006, allocations: 4.275 MB / 1.158 GB, free: 3.219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.006, allocations: 251 kB / 1.158 GB, free: 2.938 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/1.007, allocations: 1.089 MB / 1.159 GB, free: 2.613 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003865/1.008, allocations: 59.52 kB / 1.159 GB, free: 2.582 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008945/1.009, allocations: 0.9353 MB / 1.16 GB, free: 2.027 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007486/1.009, allocations: 0.6394 MB / 1.161 GB, free: 1.559 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/1.01, allocations: 36.84 kB / 1.161 GB, free: 1.559 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001971/1.01, allocations: 372.2 kB / 1.161 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/1.013, allocations: 1.055 MB / 1.162 GB, free: 1.039 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/1.016, allocations: 1.374 MB / 1.164 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/1.019, allocations: 1.164 MB / 1.165 GB, free: 36 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/1.019, allocations: 2.938 kB / 1.165 GB, free: 36 kB / 0.698 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.007742/1.027, allocations: 2.735 MB / 1.167 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001094/1.028, allocations: 2.471 MB / 1.17 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/1.028, allocations: 7.406 kB / 1.17 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-05/1.028, allocations: 13.12 kB / 1.17 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/1.031, allocations: 0.5442 MB / 1.17 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-05/1.031, allocations: 17 kB / 1.17 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/1.034, allocations: 277.9 kB / 1.171 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003255/1.034, allocations: 89.95 kB / 1.171 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/1.034, allocations: 5.438 kB / 1.171 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007213/1.042, allocations: 2.509 MB / 1.173 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/1.042, allocations: 15.89 kB / 1.173 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.042, allocations: 17.17 kB / 1.173 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/1.045, allocations: 0.5316 MB / 1.174 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.322e-05/1.045, allocations: 19.91 kB / 1.174 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.047, allocations: 256.7 kB / 1.174 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/1.047, allocations: 90.2 kB / 1.174 GB, free: 10.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 229 * 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.001443/1.049, allocations: 0.581 MB / 1.175 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/1.049, allocations: 170.4 kB / 1.175 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008801/1.058, allocations: 3.13 MB / 1.178 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/1.058, allocations: 20 kB / 1.178 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/1.058, allocations: 0 / 1.178 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/1.058, allocations: 13.92 kB / 1.178 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/1.072, allocations: 5.848 MB / 1.184 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/1.072, allocations: 0 / 1.184 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002931/1.075, allocations: 0.5128 MB / 1.184 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.813e-05/1.075, allocations: 8 kB / 1.184 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/1.075, allocations: 63.94 kB / 1.184 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/1.075, allocations: 8 kB / 1.184 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.075, allocations: 7.953 kB / 1.184 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007367/1.082, allocations: 2.895 MB / 1.187 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.084, allocations: 0.5606 MB / 1.187 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004692/1.084, allocations: 43.98 kB / 1.188 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.087, allocations: 211.8 kB / 1.188 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/1.087, allocations: 117.8 kB / 1.188 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/1.087, allocations: 79.94 kB / 1.188 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001326/1.088, allocations: 0.7792 MB / 1.189 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.088, allocations: 0 / 1.189 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004442/1.093, allocations: 0.7829 MB / 1.189 GB, free: 11.73 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002079/1.095, allocations: 0.6051 MB / 1.19 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01651/1.111, allocations: 3.974 MB / 1.194 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.111, allocations: 9.906 kB / 1.194 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005482/1.117, allocations: 1.359 MB / 1.195 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/1.12, allocations: 357.6 kB / 1.196 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.134, allocations: 5.361 MB / 1.201 GB, free: 216 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002181/1.136, allocations: 1.603 MB / 1.202 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.007027/1.143, allocations: 0.7827 MB / 1.203 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/1.145, allocations: 215.3 kB / 1.203 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of SimCode: time 2.695e-06/1.145, allocations: 0 / 1.203 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.07277/1.218, allocations: 26.59 MB / 1.229 GB, free: 3.117 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)