Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.825/2.825, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001545/0.001545, allocations: 199.1 kB / 370.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001151/0.001151, allocations: 97.78 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004894, allocations: 11.86 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.01253/0.2354, allocations: 8.173 MB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9905/1.226, allocations: 129.7 MB / 1.113 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/1.228, allocations: 32.19 kB / 1.113 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/1.23, allocations: 174.9 kB / 1.113 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005501/1.236, allocations: 0.8014 MB / 1.114 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009544/1.245, allocations: 1.136 MB / 1.115 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008202/1.254, allocations: 1.674 MB / 1.117 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/1.265, allocations: 2.283 MB / 1.119 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/1.267, allocations: 0.8117 MB / 1.12 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/1.27, allocations: 0.8757 MB / 1.12 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007526/1.271, allocations: 63.88 kB / 1.121 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/1.273, allocations: 390.6 kB / 1.121 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008608/1.274, allocations: 457.8 kB / 1.121 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008458/1.275, allocations: 451.5 kB / 1.122 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005895/1.28, allocations: 3.154 MB / 1.125 GB, free: 480 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.281, allocations: 0 / 1.125 GB, free: 480 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.875e-06/1.281, allocations: 0 / 1.125 GB, free: 480 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001458/1.281, allocations: 0 / 1.125 GB, free: 480 kB / 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.009372/1.29, allocations: 2.382 MB / 1.127 GB, free: 15.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001071/1.29, allocations: 9.031 kB / 1.127 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0203/1.311, allocations: 1.667 MB / 1.129 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/1.315, allocations: 1.41 MB / 1.13 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/1.315, allocations: 198.3 kB / 1.13 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/1.317, allocations: 247.1 kB / 1.131 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/1.332, allocations: 3.4 MB / 1.134 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/1.333, allocations: 6.141 kB / 1.134 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000475/1.333, allocations: 105 kB / 1.134 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/1.333, allocations: 116.3 kB / 1.134 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/1.353, allocations: 3.926 MB / 1.138 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02946/1.382, allocations: 10.05 MB / 1.148 GB, free: 6.195 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/1.397, allocations: 2.702 MB / 1.15 GB, free: 5.668 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/1.398, allocations: 0.5854 MB / 1.151 GB, free: 5.062 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007404/1.406, allocations: 1.508 MB / 1.152 GB, free: 4.566 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 6.162e-06/1.406, allocations: 4 kB / 1.152 GB, free: 4.562 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.02034/1.426, allocations: 4.27 MB / 1.157 GB, free: 3.309 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/1.426, allocations: 254 kB / 1.157 GB, free: 3.027 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/1.429, allocations: 1.091 MB / 1.158 GB, free: 2.703 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006701/1.43, allocations: 56.55 kB / 1.158 GB, free: 2.672 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/1.431, allocations: 0.934 MB / 1.159 GB, free: 2.117 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.432, allocations: 0.6392 MB / 1.16 GB, free: 1.645 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/1.432, allocations: 36.75 kB / 1.16 GB, free: 1.645 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.432, allocations: 373.1 kB / 1.16 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005588/1.438, allocations: 1.055 MB / 1.161 GB, free: 1.129 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006252/1.444, allocations: 1.37 MB / 1.162 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006054/1.451, allocations: 1.169 MB / 1.163 GB, free: 452 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/1.451, allocations: 0 / 1.163 GB, free: 452 kB / 0.698 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01351/1.464, allocations: 2.747 MB / 1.166 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001237/1.465, allocations: 2.459 MB / 1.169 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/1.465, allocations: 4.5 kB / 1.169 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.212e-05/1.465, allocations: 20 kB / 1.169 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006303/1.472, allocations: 0.5424 MB / 1.169 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.491e-05/1.472, allocations: 21.08 kB / 1.169 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004619/1.477, allocations: 272.7 kB / 1.169 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006525/1.477, allocations: 88.52 kB / 1.169 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.477, allocations: 2.625 kB / 1.169 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01648/1.494, allocations: 2.512 MB / 1.172 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/1.494, allocations: 7.812 kB / 1.172 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/1.494, allocations: 19.56 kB / 1.172 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007624/1.502, allocations: 0.53 MB / 1.172 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.966e-05/1.502, allocations: 19.5 kB / 1.172 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/1.507, allocations: 265.1 kB / 1.173 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008684/1.508, allocations: 86.11 kB / 1.173 GB, free: 10.75 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.002915/1.511, allocations: 0.5809 MB / 1.173 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006898/1.512, allocations: 168.3 kB / 1.174 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01825/1.53, allocations: 3.135 MB / 1.177 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/1.53, allocations: 24.55 kB / 1.177 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.53, allocations: 6.781 kB / 1.177 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/1.53, allocations: 7.969 kB / 1.177 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02904/1.559, allocations: 5.849 MB / 1.182 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/1.559, allocations: 11.97 kB / 1.182 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007783/1.567, allocations: 0.511 MB / 1.183 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.895e-05/1.567, allocations: 8 kB / 1.183 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007944/1.568, allocations: 63.94 kB / 1.183 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.249e-05/1.568, allocations: 11.95 kB / 1.183 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/1.568, allocations: 0 / 1.183 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/1.587, allocations: 2.883 MB / 1.186 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/1.59, allocations: 0.5684 MB / 1.186 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/1.591, allocations: 40 kB / 1.186 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006052/1.597, allocations: 211.8 kB / 1.187 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009907/1.598, allocations: 129.8 kB / 1.187 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008054/1.599, allocations: 75.89 kB / 1.187 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003731/1.603, allocations: 0.7831 MB / 1.187 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.054e-06/1.603, allocations: 0 / 1.187 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005439/1.608, allocations: 0.7714 MB / 1.188 GB, free: 12.6 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.002543/1.611, allocations: 0.6127 MB / 1.189 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02101/1.632, allocations: 3.97 MB / 1.193 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.632, allocations: 4 kB / 1.193 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007112/1.639, allocations: 1.363 MB / 1.194 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/1.643, allocations: 365.4 kB / 1.194 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/1.661, allocations: 5.354 MB / 1.2 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/1.663, allocations: 1.605 MB / 1.201 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.007849/1.671, allocations: 0.775 MB / 1.202 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.673, allocations: 211.3 kB / 1.202 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/1.673, allocations: 4 kB / 1.202 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of Templates: time 0.07948/1.753, allocations: 26.59 MB / 1.228 GB, free: 3.996 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)