Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 91.69 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.007364/0.007365, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.099/3.099, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 12.06 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3344, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.01334/0.3478, allocations: 9.317 MB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1773/0.5251, allocations: 148.6 MB / 1.228 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.5269, allocations: 27.88 kB / 1.228 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009168/0.5278, allocations: 258 kB / 1.229 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.5305, allocations: 0.8313 MB / 1.229 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.5332, allocations: 1.113 MB / 1.231 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003367/0.5366, allocations: 2.692 MB / 1.233 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.5394, allocations: 1.748 MB / 1.235 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.5409, allocations: 0.6842 MB / 1.236 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.5422, allocations: 0.8316 MB / 1.236 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.5423, allocations: 56 kB / 1.236 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.5437, allocations: 0.6046 MB / 1.237 GB, free: 76 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004115/0.5442, allocations: 382.2 kB / 1.237 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.5452, allocations: 0.8794 MB / 1.238 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003346/0.5486, allocations: 3.103 MB / 1.241 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.5486, allocations: 4 kB / 1.241 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5486, allocations: 0 / 1.241 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.175e-05/0.5486, allocations: 4 kB / 1.241 GB, free: 11.69 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.004366/0.553, allocations: 1.972 MB / 1.243 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5531, allocations: 12.03 kB / 1.243 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006746/0.5598, allocations: 0.9855 MB / 1.244 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.5618, allocations: 1.192 MB / 1.245 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.5619, allocations: 135.6 kB / 1.245 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.5622, allocations: 172 kB / 1.246 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005195/0.5674, allocations: 2.37 MB / 1.248 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.5675, allocations: 0 / 1.248 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.5677, allocations: 79.97 kB / 1.248 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.554e-05/0.5678, allocations: 83.47 kB / 1.248 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006749/0.5745, allocations: 2.695 MB / 1.251 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7068/1.281, allocations: 7.894 MB / 1.258 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004968/1.286, allocations: 1.763 MB / 1.26 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/1.289, allocations: 0.84 MB / 1.261 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/1.289, allocations: 490.8 kB / 1.261 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002331/1.292, allocations: 1.087 MB / 1.262 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=144): time 3.366e-06/1.292, allocations: 0 / 1.262 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144): time 0.006772/1.298, allocations: 2.53 MB / 1.265 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.299, allocations: 305.7 kB / 1.265 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/1.3, allocations: 0.9548 MB / 1.266 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/1.3, allocations: 54.58 kB / 1.266 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005409/1.301, allocations: 0.7074 MB / 1.267 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/1.301, allocations: 472.2 kB / 1.267 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/1.302, allocations: 117.8 kB / 1.267 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.302, allocations: 365 kB / 1.268 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/1.304, allocations: 0.6965 MB / 1.268 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/1.306, allocations: 0.903 MB / 1.269 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004093/1.31, allocations: 1.551 MB / 1.271 GB, free: 171 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/1.31, allocations: 6.234 kB / 1.271 GB, free: 171 MB / 0.9981 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005174/1.315, allocations: 1.873 MB / 1.273 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.671e-05/1.315, allocations: 176.1 kB / 1.273 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/1.315, allocations: 4.812 kB / 1.273 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/1.316, allocations: 37.56 kB / 1.273 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/1.318, allocations: 373.8 kB / 1.273 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000923/1.318, allocations: 1.287 MB / 1.275 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.32, allocations: 244.7 kB / 1.275 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/1.321, allocations: 66.45 kB / 1.275 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/1.321, allocations: 5.375 kB / 1.275 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004882/1.326, allocations: 1.726 MB / 1.277 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.326, allocations: 3.531 kB / 1.277 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/1.326, allocations: 9.625 kB / 1.277 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/1.328, allocations: 374.4 kB / 1.277 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/1.328, allocations: 10.55 kB / 1.277 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.329, allocations: 237.2 kB / 1.277 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/1.33, allocations: 66.62 kB / 1.277 GB, free: 167.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pv.HDirTil.incAng.decAng.tNext,$PRE.pv.HDirTil.incAng.decAng.tNext,pv.HDifTil.incAng.decAng.tNext,$PRE.pv.HDifTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001049/1.331, allocations: 0.5003 MB / 1.278 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/1.331, allocations: 137.8 kB / 1.278 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005773/1.337, allocations: 2.127 MB / 1.28 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/1.337, allocations: 19.12 kB / 1.28 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/1.337, allocations: 0.5156 kB / 1.28 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/1.337, allocations: 9.391 kB / 1.28 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008439/1.345, allocations: 4.182 MB / 1.284 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.345, allocations: 6.953 kB / 1.284 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/1.347, allocations: 328.1 kB / 1.284 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/1.347, allocations: 29.88 kB / 1.284 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/1.347, allocations: 46.45 kB / 1.284 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000709/1.348, allocations: 1.286 MB / 1.286 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.348, allocations: 0.9688 kB / 1.286 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004977/1.353, allocations: 1.995 MB / 1.288 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000774/1.354, allocations: 460.9 kB / 1.288 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/1.354, allocations: 39.45 kB / 1.288 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/1.356, allocations: 169.2 kB / 1.288 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/1.356, allocations: 115.4 kB / 1.288 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.356, allocations: 64.41 kB / 1.288 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009519/1.357, allocations: 0.6649 MB / 1.289 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.357, allocations: 0.9844 kB / 1.289 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00241/1.36, allocations: 0.903 MB / 1.29 GB, free: 161.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pv.HDifTil.incAng.decAng.tNext,pv.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 7 (weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext,pv.HDirTil.incAng.decAng.tNext,pv.HDifTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/1.361, allocations: 0.6409 MB / 1.291 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00761/1.369, allocations: 2.813 MB / 1.293 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.369, allocations: 0.9688 kB / 1.293 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002506/1.371, allocations: 1.051 MB / 1.294 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/1.373, allocations: 366.2 kB / 1.295 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/1.38, allocations: 4.035 MB / 1.299 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/1.381, allocations: 1.332 MB / 1.3 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002813/1.384, allocations: 0.5536 MB / 1.3 GB, free: 156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/1.384, allocations: 162 kB / 1.301 GB, free: 156 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.384, allocations: 3.938 kB / 1.301 GB, free: 156 MB / 0.9981 GB Notification: Performance of Templates: time 0.03589/1.42, allocations: 22.66 MB / 1.323 GB, free: 137.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)