Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008549/0.0008548, allocations: 91.84 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.006256/0.006256, allocations: 170 kB / 16.26 MB, free: 6.68 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.012/3.012, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004667, allocations: 9.438 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4135, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.01223/0.4258, allocations: 8.585 MB / 1.083 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.6073, allocations: 148.5 MB / 1.228 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.6086, allocations: 27.88 kB / 1.228 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000722/0.6093, allocations: 234 kB / 1.228 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.6117, allocations: 0.7837 MB / 1.229 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.6142, allocations: 1.065 MB / 1.23 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002749/0.617, allocations: 2.52 MB / 1.232 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.6192, allocations: 1.595 MB / 1.234 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.6202, allocations: 0.6571 MB / 1.234 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.6213, allocations: 0.7967 MB / 1.235 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.6215, allocations: 56 kB / 1.235 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.6229, allocations: 0.6007 MB / 1.236 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000403/0.6233, allocations: 374.3 kB / 1.236 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009199/0.6243, allocations: 0.8327 MB / 1.237 GB, free: 256 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003218/0.6275, allocations: 2.737 MB / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6275, allocations: 0 / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6275, allocations: 4 kB / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.214e-05/0.6276, allocations: 4 kB / 1.239 GB, free: 13.5 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004374/0.6319, allocations: 1.913 MB / 1.241 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.632, allocations: 12.03 kB / 1.241 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006842/0.6388, allocations: 0.9739 MB / 1.242 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.6413, allocations: 1.079 MB / 1.243 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.6415, allocations: 131.4 kB / 1.244 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.6418, allocations: 168 kB / 1.244 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005325/0.6471, allocations: 2.232 MB / 1.246 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/0.6472, allocations: 4 kB / 1.246 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.6474, allocations: 68 kB / 1.246 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-05/0.6475, allocations: 75.27 kB / 1.246 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006992/0.6545, allocations: 2.569 MB / 1.248 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6709/1.325, allocations: 7.153 MB / 1.255 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005137/1.331, allocations: 1.718 MB / 1.257 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/1.333, allocations: 0.8124 MB / 1.258 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006222/1.334, allocations: 490 kB / 1.258 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0027/1.336, allocations: 1.071 MB / 1.259 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=144): time 4.759e-06/1.336, allocations: 0 / 1.259 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144): time 0.006373/1.343, allocations: 2.483 MB / 1.262 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/1.343, allocations: 303.9 kB / 1.262 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/1.344, allocations: 0.9223 MB / 1.263 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/1.344, allocations: 54.64 kB / 1.263 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/1.345, allocations: 0.6714 MB / 1.264 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/1.345, allocations: 473.3 kB / 1.264 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/1.345, allocations: 114.3 kB / 1.264 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/1.345, allocations: 359.4 kB / 1.265 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/1.347, allocations: 0.6868 MB / 1.265 GB, free: 174 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/1.349, allocations: 0.8803 MB / 1.266 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/1.353, allocations: 1.513 MB / 1.268 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/1.353, allocations: 1.469 kB / 1.268 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004857/1.358, allocations: 1.837 MB / 1.269 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.358, allocations: 184.8 kB / 1.27 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.358, allocations: 1.688 kB / 1.27 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/1.359, allocations: 35.69 kB / 1.27 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.361, allocations: 375.4 kB / 1.27 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009583/1.362, allocations: 1.296 MB / 1.271 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.364, allocations: 230.7 kB / 1.272 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/1.364, allocations: 71.95 kB / 1.272 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.364, allocations: 5.016 kB / 1.272 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004416/1.368, allocations: 1.688 MB / 1.273 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.368, allocations: 2.812 kB / 1.273 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.368, allocations: 10.38 kB / 1.273 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/1.37, allocations: 384.2 kB / 1.274 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/1.37, allocations: 9.25 kB / 1.274 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.372, allocations: 232.1 kB / 1.274 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/1.372, allocations: 69.69 kB / 1.274 GB, free: 169.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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDifTil.incAng.decAng.tNext,$PRE.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.001104/1.373, allocations: 476.1 kB / 1.274 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/1.374, allocations: 135.9 kB / 1.275 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006091/1.38, allocations: 2.107 MB / 1.277 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.38, allocations: 15.66 kB / 1.277 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.38, allocations: 1.828 kB / 1.277 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.56e-05/1.38, allocations: 12.25 kB / 1.277 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008288/1.388, allocations: 3.979 MB / 1.281 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.388, allocations: 0 / 1.281 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/1.39, allocations: 333.1 kB / 1.281 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/1.39, allocations: 33.11 kB / 1.281 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.39, allocations: 47.55 kB / 1.281 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008027/1.391, allocations: 1.277 MB / 1.282 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.391, allocations: 4.5 kB / 1.282 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005116/1.396, allocations: 1.943 MB / 1.284 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009796/1.397, allocations: 446.6 kB / 1.284 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/1.398, allocations: 32 kB / 1.285 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.399, allocations: 167.2 kB / 1.285 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/1.4, allocations: 119.8 kB / 1.285 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.4, allocations: 63.38 kB / 1.285 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00123/1.401, allocations: 0.66 MB / 1.285 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.401, allocations: 1.641 kB / 1.285 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003125/1.404, allocations: 0.8673 MB / 1.286 GB, free: 163.6 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,HDifTil.incAng.decAng.tNext,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,HDirTil.incAng.decAng.tNext,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.00163/1.406, allocations: 0.6456 MB / 1.287 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007614/1.413, allocations: 2.752 MB / 1.29 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.413, allocations: 2.594 kB / 1.29 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002542/1.416, allocations: 1.024 MB / 1.291 GB, free: 162 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.418, allocations: 353.9 kB / 1.291 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006909/1.425, allocations: 3.879 MB / 1.295 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009101/1.426, allocations: 1.31 MB / 1.296 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002909/1.429, allocations: 0.5468 MB / 1.297 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006041/1.43, allocations: 173.7 kB / 1.297 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.673e-06/1.43, allocations: 0 / 1.297 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03581/1.465, allocations: 22.61 MB / 1.319 GB, free: 142 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)