Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001211/0.001211, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008796/0.008796, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 14.53 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.01159/0.3594, allocations: 9.317 MB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1744/0.5338, allocations: 148.6 MB / 1.228 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.5355, allocations: 27.88 kB / 1.228 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008994/0.5364, allocations: 254 kB / 1.229 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.5393, allocations: 0.8273 MB / 1.229 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.5421, allocations: 1.12 MB / 1.23 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003502/0.5456, allocations: 2.696 MB / 1.233 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/0.5488, allocations: 1.748 MB / 1.235 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.5504, allocations: 0.688 MB / 1.236 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.5522, allocations: 0.8239 MB / 1.236 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003529/0.5526, allocations: 60 kB / 1.236 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.5542, allocations: 0.6007 MB / 1.237 GB, free: 56 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.5547, allocations: 382.4 kB / 1.237 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.5557, allocations: 0.8833 MB / 1.238 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.5592, allocations: 3.103 MB / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5592, allocations: 0 / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.156e-06/0.5592, allocations: 0 / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.804e-05/0.5593, allocations: 0 / 1.241 GB, free: 11.67 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.004524/0.5638, allocations: 1.972 MB / 1.243 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5639, allocations: 16.03 kB / 1.243 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006756/0.5706, allocations: 0.9894 MB / 1.244 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.5732, allocations: 1.18 MB / 1.245 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.5734, allocations: 135.6 kB / 1.245 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/0.5736, allocations: 180 kB / 1.246 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005756/0.5794, allocations: 2.365 MB / 1.248 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.5795, allocations: 4 kB / 1.248 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.5797, allocations: 75.98 kB / 1.248 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.897e-05/0.5798, allocations: 91.39 kB / 1.248 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006642/0.5864, allocations: 2.691 MB / 1.251 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7423/1.329, allocations: 7.899 MB / 1.258 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005635/1.334, allocations: 1.763 MB / 1.26 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002495/1.337, allocations: 0.8435 MB / 1.261 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006832/1.338, allocations: 492 kB / 1.261 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002494/1.34, allocations: 1.084 MB / 1.262 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=144): time 3.467e-06/1.34, allocations: 0 / 1.262 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144): time 0.007433/1.348, allocations: 2.528 MB / 1.265 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/1.348, allocations: 305.4 kB / 1.265 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/1.35, allocations: 0.9517 MB / 1.266 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001709/1.35, allocations: 58.12 kB / 1.266 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007686/1.351, allocations: 0.7092 MB / 1.267 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005195/1.351, allocations: 473.1 kB / 1.267 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/1.351, allocations: 117.2 kB / 1.267 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.351, allocations: 353.9 kB / 1.268 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/1.353, allocations: 0.7052 MB / 1.268 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/1.356, allocations: 0.903 MB / 1.269 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004158/1.36, allocations: 1.554 MB / 1.271 GB, free: 171 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.36, allocations: 3.281 kB / 1.271 GB, free: 171 MB / 0.9981 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005627/1.366, allocations: 1.87 MB / 1.273 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.366, allocations: 180.2 kB / 1.273 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.366, allocations: 4 kB / 1.273 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/1.366, allocations: 34.09 kB / 1.273 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/1.368, allocations: 374.3 kB / 1.273 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/1.369, allocations: 1.294 MB / 1.275 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/1.372, allocations: 240.7 kB / 1.275 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/1.372, allocations: 71.77 kB / 1.275 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.372, allocations: 4.656 kB / 1.275 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005643/1.378, allocations: 1.72 MB / 1.277 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.378, allocations: 3.375 kB / 1.277 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/1.378, allocations: 8.812 kB / 1.277 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/1.38, allocations: 380.3 kB / 1.277 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-05/1.38, allocations: 9 kB / 1.277 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.382, allocations: 234.8 kB / 1.277 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/1.382, allocations: 66.75 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.001288/1.384, allocations: 0.5001 MB / 1.278 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005009/1.384, allocations: 138 kB / 1.278 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006567/1.391, allocations: 2.132 MB / 1.28 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/1.391, allocations: 15.53 kB / 1.28 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/1.391, allocations: 0.9688 kB / 1.28 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/1.391, allocations: 9.703 kB / 1.28 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/1.401, allocations: 4.177 MB / 1.284 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/1.401, allocations: 4.281 kB / 1.284 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/1.403, allocations: 333 kB / 1.284 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/1.403, allocations: 29.84 kB / 1.284 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/1.403, allocations: 46.41 kB / 1.284 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008651/1.404, allocations: 1.285 MB / 1.286 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.404, allocations: 7.969 kB / 1.286 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006002/1.41, allocations: 1.99 MB / 1.288 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.411, allocations: 464.7 kB / 1.288 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005298/1.412, allocations: 34.27 kB / 1.288 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002243/1.414, allocations: 170.2 kB / 1.288 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004233/1.415, allocations: 111.2 kB / 1.288 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.415, allocations: 63.84 kB / 1.288 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001586/1.417, allocations: 0.6612 MB / 1.289 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.2e-07/1.417, allocations: 0 / 1.289 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003381/1.42, allocations: 0.9062 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.001938/1.422, allocations: 0.6444 MB / 1.291 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008598/1.43, allocations: 2.816 MB / 1.293 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.431, allocations: 1.094 kB / 1.293 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002784/1.433, 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.002569/1.436, allocations: 368.9 kB / 1.295 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007637/1.444, allocations: 4.028 MB / 1.299 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/1.445, allocations: 1.33 MB / 1.3 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003535/1.448, allocations: 0.5588 MB / 1.3 GB, free: 156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/1.449, allocations: 164.6 kB / 1.301 GB, free: 156 MB / 0.9981 GB Notification: Performance of SimCode: time 2.324e-06/1.449, allocations: 0 / 1.301 GB, free: 156 MB / 0.9981 GB Notification: Performance of Templates: time 0.03743/1.487, allocations: 22.66 MB / 1.323 GB, free: 137.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)