Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.64/1.64, allocations: 288.3 MB / 303.2 MB, free: 8.113 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.001154/0.001154, allocations: 179.5 kB / 371.8 MB, free: 10.28 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.679/1.679, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001028/0.001028, allocations: 97.09 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004212, allocations: 11.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.007664/0.263, allocations: 6.968 MB / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7082/0.9713, allocations: 128.8 MB / 1.112 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.9727, allocations: 25.66 kB / 1.112 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.9733, allocations: 145.1 kB / 1.112 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.9761, allocations: 0.6502 MB / 1.113 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.9795, allocations: 0.8526 MB / 1.114 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003186/0.9827, allocations: 1.258 MB / 1.115 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003028/0.9857, allocations: 1.379 MB / 1.116 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.9875, allocations: 0.5882 MB / 1.117 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.9888, allocations: 0.5923 MB / 1.117 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.989, allocations: 47.16 kB / 1.117 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.9903, allocations: 328.6 kB / 1.118 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.9907, allocations: 336 kB / 1.118 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005977/0.9913, allocations: 335 kB / 1.118 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.9943, allocations: 2.208 MB / 1.121 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.9943, allocations: 0 / 1.121 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9943, allocations: 0 / 1.121 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.202e-05/0.9944, allocations: 0 / 1.121 GB, free: 1.355 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.004354/0.9988, allocations: 1.798 MB / 1.122 GB, free: 16.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.9988, allocations: 8.812 kB / 1.122 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006381/1.005, allocations: 0.9482 MB / 1.123 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/1.008, allocations: 1.089 MB / 1.124 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/1.008, allocations: 125.8 kB / 1.124 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/1.008, allocations: 166.3 kB / 1.125 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/1.013, allocations: 2.161 MB / 1.127 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/1.013, allocations: 3.953 kB / 1.127 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/1.014, allocations: 75.39 kB / 1.127 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.893e-05/1.014, allocations: 84.97 kB / 1.127 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005871/1.02, allocations: 2.513 MB / 1.129 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/1.032, allocations: 6.994 MB / 1.136 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00428/1.036, allocations: 1.613 MB / 1.138 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007244/1.037, allocations: 494.1 kB / 1.138 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002157/1.039, allocations: 0.9159 MB / 1.139 GB, free: 9.848 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 3.356e-06/1.039, allocations: 3.266 kB / 1.139 GB, free: 9.848 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.006307/1.045, allocations: 2.201 MB / 1.141 GB, free: 9.316 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/1.046, allocations: 308.7 kB / 1.141 GB, free: 8.965 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.047, allocations: 0.8457 MB / 1.142 GB, free: 8.684 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.047, allocations: 48.23 kB / 1.142 GB, free: 8.652 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/1.048, allocations: 0.676 MB / 1.143 GB, free: 8.254 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003982/1.048, allocations: 430.2 kB / 1.143 GB, free: 7.945 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/1.048, allocations: 24.12 kB / 1.143 GB, free: 7.945 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.048, allocations: 352.4 kB / 1.144 GB, free: 7.625 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/1.05, allocations: 0.5889 MB / 1.144 GB, free: 7.523 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/1.052, allocations: 0.8113 MB / 1.145 GB, free: 7.195 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/1.054, allocations: 0.6593 MB / 1.146 GB, free: 7.109 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/1.054, allocations: 8.984 kB / 1.146 GB, free: 7.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004808/1.059, allocations: 1.624 MB / 1.147 GB, free: 6.742 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008868/1.06, allocations: 1.485 MB / 1.149 GB, free: 5.184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/1.06, allocations: 3.656 kB / 1.149 GB, free: 5.184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/1.06, allocations: 40.59 kB / 1.149 GB, free: 5.164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/1.062, allocations: 326 kB / 1.149 GB, free: 5.086 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/1.063, allocations: 1.299 MB / 1.15 GB, free: 3.781 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/1.065, allocations: 196.5 kB / 1.151 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.065, allocations: 54.12 kB / 1.151 GB, free: 3.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/1.065, allocations: 3.969 kB / 1.151 GB, free: 3.68 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003771/1.069, allocations: 1.485 MB / 1.152 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/1.069, allocations: 3.906 kB / 1.152 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.069, allocations: 10.19 kB / 1.152 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.07, allocations: 329.9 kB / 1.152 GB, free: 3.336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/1.07, allocations: 9.453 kB / 1.152 GB, free: 3.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.072, allocations: 184.1 kB / 1.153 GB, free: 3.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/1.072, allocations: 61.25 kB / 1.153 GB, free: 3.234 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.001091/1.073, allocations: 479.4 kB / 1.153 GB, free: 3.012 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/1.074, allocations: 126.5 kB / 1.153 GB, free: 2.945 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/1.079, allocations: 1.886 MB / 1.155 GB, free: 2.453 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.079, allocations: 15.81 kB / 1.155 GB, free: 2.453 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.079, allocations: 3.984 kB / 1.155 GB, free: 2.449 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/1.079, allocations: 7.703 kB / 1.155 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006875/1.086, allocations: 3.743 MB / 1.159 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.086, allocations: 6.797 kB / 1.159 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.087, allocations: 300.8 kB / 1.159 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/1.087, allocations: 28.28 kB / 1.159 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/1.087, allocations: 41.06 kB / 1.159 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009498/1.088, allocations: 1.288 MB / 1.16 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.088, allocations: 7.875 kB / 1.16 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/1.093, allocations: 1.745 MB / 1.162 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/1.093, allocations: 419.7 kB / 1.163 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004726/1.094, allocations: 24.59 kB / 1.163 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.096, allocations: 142.1 kB / 1.163 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/1.096, allocations: 89.44 kB / 1.163 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/1.096, allocations: 53.55 kB / 1.163 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00108/1.097, allocations: 0.5847 MB / 1.163 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3e-07/1.097, allocations: 4 kB / 1.163 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002622/1.1, allocations: 0.7422 MB / 1.164 GB, free: 14.55 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.00147/1.101, allocations: 0.5869 MB / 1.165 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006458/1.108, allocations: 2.421 MB / 1.167 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.108, allocations: 0 / 1.167 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002228/1.11, allocations: 0.9203 MB / 1.168 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/1.112, allocations: 293.5 kB / 1.168 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007775/1.12, allocations: 3.536 MB / 1.172 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.121, allocations: 1.316 MB / 1.173 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003064/1.124, allocations: 0.5304 MB / 1.174 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/1.125, allocations: 144.1 kB / 1.174 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of SimCode: time 1.743e-06/1.125, allocations: 4 kB / 1.174 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of Templates: time 0.0367/1.161, allocations: 18.62 MB / 1.192 GB, free: 8.773 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)