Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 288.3 MB / 303.2 MB, free: 8.207 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.001302/0.001302, allocations: 183.7 kB / 371.9 MB, free: 10.26 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.661/1.661, allocations: 205.4 MB / 0.6306 GB, free: 9.965 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.0008724/0.0008721, allocations: 102.9 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 11.53 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.249, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.007113/0.2562, allocations: 6.493 MB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7286/0.9848, allocations: 128.7 MB / 1.111 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.9868, allocations: 32.31 kB / 1.111 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006879/0.9875, allocations: 142.9 kB / 1.112 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.9903, allocations: 0.6266 MB / 1.112 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.9935, allocations: 0.842 MB / 1.113 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002736/0.9962, allocations: 1.214 MB / 1.114 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002133/0.9984, allocations: 1.255 MB / 1.115 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.9996, allocations: 0.5523 MB / 1.116 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009516/1.001, allocations: 0.584 MB / 1.117 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/1.001, allocations: 47.09 kB / 1.117 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/1.002, allocations: 335.4 kB / 1.117 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003767/1.002, allocations: 319 kB / 1.117 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004117/1.003, allocations: 302.2 kB / 1.118 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/1.005, allocations: 1.907 MB / 1.119 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/1.005, allocations: 0 / 1.119 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.963e-06/1.005, allocations: 4 kB / 1.119 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.538e-05/1.005, allocations: 1.312 kB / 1.119 GB, free: 1.223 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: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.003741/1.009, allocations: 1.731 MB / 1.121 GB, free: 16.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.009, allocations: 13.67 kB / 1.121 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/1.015, allocations: 0.9388 MB / 1.122 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.017, allocations: 0.99 MB / 1.123 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.668e-05/1.017, allocations: 119.1 kB / 1.123 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/1.017, allocations: 153.9 kB / 1.123 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/1.021, allocations: 2.036 MB / 1.125 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/1.021, allocations: 6.484 kB / 1.125 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/1.022, allocations: 64.59 kB / 1.125 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.47e-05/1.022, allocations: 74.27 kB / 1.125 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005191/1.027, allocations: 2.412 MB / 1.128 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/1.037, allocations: 6.418 MB / 1.134 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/1.041, allocations: 1.575 MB / 1.136 GB, free: 11.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000712/1.042, allocations: 492.8 kB / 1.136 GB, free: 10.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002138/1.044, allocations: 0.9041 MB / 1.137 GB, free: 10.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 3.837e-06/1.044, allocations: 0 / 1.137 GB, free: 10.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.006079/1.05, allocations: 2.188 MB / 1.139 GB, free: 9.645 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/1.05, allocations: 304.3 kB / 1.139 GB, free: 9.297 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.052, allocations: 0.8321 MB / 1.14 GB, free: 9.016 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/1.052, allocations: 50.94 kB / 1.14 GB, free: 8.984 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005439/1.052, allocations: 0.6229 MB / 1.141 GB, free: 8.617 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/1.053, allocations: 434 kB / 1.141 GB, free: 8.305 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/1.053, allocations: 23.56 kB / 1.141 GB, free: 8.305 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.053, allocations: 351.1 kB / 1.142 GB, free: 7.988 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/1.055, allocations: 0.5857 MB / 1.142 GB, free: 7.883 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/1.057, allocations: 0.7779 MB / 1.143 GB, free: 7.586 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/1.058, allocations: 0.6576 MB / 1.144 GB, free: 7.492 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/1.058, allocations: 1.312 kB / 1.144 GB, free: 7.492 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004561/1.063, allocations: 1.599 MB / 1.145 GB, free: 7.137 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006342/1.063, allocations: 1.146 MB / 1.146 GB, free: 5.938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.064, allocations: 2.906 kB / 1.146 GB, free: 5.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/1.064, allocations: 35.61 kB / 1.146 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/1.066, allocations: 326.7 kB / 1.147 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/1.067, allocations: 1.306 MB / 1.148 GB, free: 4.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/1.069, allocations: 191.5 kB / 1.148 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/1.069, allocations: 63.83 kB / 1.148 GB, free: 4.426 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/1.069, allocations: 6.766 kB / 1.148 GB, free: 4.426 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003969/1.073, allocations: 1.467 MB / 1.15 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.073, allocations: 1.594 kB / 1.15 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.073, allocations: 9.5 kB / 1.15 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/1.075, allocations: 333.6 kB / 1.15 GB, free: 4.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.075, allocations: 12.66 kB / 1.15 GB, free: 4.078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/1.076, allocations: 184.2 kB / 1.15 GB, free: 3.992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.076, allocations: 55.23 kB / 1.15 GB, free: 3.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (148): * Single equations (assignments): 147 * 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.001123/1.078, allocations: 449.2 kB / 1.151 GB, free: 3.754 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/1.078, allocations: 117.7 kB / 1.151 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/1.083, allocations: 1.888 MB / 1.152 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.083, allocations: 16 kB / 1.152 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.083, allocations: 0 / 1.152 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/1.083, allocations: 11.91 kB / 1.152 GB, free: 3.168 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/1.09, allocations: 3.57 MB / 1.156 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.09, allocations: 0 / 1.156 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.091, allocations: 309.4 kB / 1.156 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/1.091, allocations: 31.47 kB / 1.156 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.091, allocations: 35.56 kB / 1.156 GB, free: 1.805 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009129/1.092, allocations: 1.287 MB / 1.158 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.092, allocations: 0 / 1.158 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/1.096, allocations: 1.719 MB / 1.159 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/1.097, allocations: 406 kB / 1.16 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/1.097, allocations: 30.64 kB / 1.16 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.099, allocations: 138.4 kB / 1.16 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/1.099, allocations: 87.78 kB / 1.16 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.099, allocations: 52.95 kB / 1.16 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008643/1.1, allocations: 0.592 MB / 1.161 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.1, allocations: 4.641 kB / 1.161 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0022/1.102, allocations: 0.7276 MB / 1.161 GB, free: 15.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * 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: 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 Backend phase and start with SimCode phase: time 0.001323/1.103, allocations: 0.5884 MB / 1.162 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006049/1.109, allocations: 2.393 MB / 1.164 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.109, allocations: 0 / 1.164 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/1.112, allocations: 0.9005 MB / 1.165 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.113, allocations: 279.3 kB / 1.165 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/1.119, allocations: 3.412 MB / 1.169 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009062/1.12, allocations: 1.291 MB / 1.17 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002893/1.123, allocations: 0.5204 MB / 1.17 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/1.124, allocations: 157.6 kB / 1.171 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of SimCode: time 1.563e-06/1.124, allocations: 3.094 kB / 1.171 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of Templates: time 0.03686/1.161, allocations: 18.89 MB / 1.189 GB, free: 10.61 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)