Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.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.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007983/0.0007984, allocations: 98.03 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.005246/0.005246, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 8.156 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.01334/0.3611, allocations: 11.67 MB / 1.086 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1764/0.5375, allocations: 149.7 MB / 1.232 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.5393, allocations: 31.81 kB / 1.232 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008963/0.5402, allocations: 313.4 kB / 1.232 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.5434, allocations: 1.099 MB / 1.233 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003207/0.5466, allocations: 1.505 MB / 1.235 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004095/0.5507, allocations: 3.689 MB / 1.238 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004184/0.5549, allocations: 2.88 MB / 1.241 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.5563, allocations: 0.9641 MB / 1.242 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.5579, allocations: 1.185 MB / 1.243 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.5581, allocations: 76 kB / 1.243 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.5595, allocations: 0.6943 MB / 1.244 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005019/0.56, allocations: 0.5249 MB / 1.244 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.5612, allocations: 1.248 MB / 1.246 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003896/0.5651, allocations: 4.387 MB / 1.25 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5651, allocations: 0 / 1.25 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5651, allocations: 0 / 1.25 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.285e-05/0.5652, allocations: 0 / 1.25 GB, free: 2.832 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: 700 * Number of variables: 700 Notification: Performance of Generate backend data structure: time 0.005677/0.5709, allocations: 2.643 MB / 1.252 GB, free: 124 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.5709, allocations: 16.03 kB / 1.252 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6801/1.251, allocations: 1.758 MB / 1.254 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/1.254, allocations: 1.532 MB / 1.256 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/1.254, allocations: 203.5 kB / 1.256 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005045/1.255, allocations: 264.2 kB / 1.256 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008568/1.263, allocations: 3.715 MB / 1.26 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.334e-05/1.263, allocations: 6.125 kB / 1.26 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/1.264, allocations: 111.3 kB / 1.26 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/1.264, allocations: 125.2 kB / 1.26 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/1.276, allocations: 4.215 MB / 1.264 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.026/1.302, allocations: 11.44 MB / 1.275 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00974/1.312, allocations: 2.943 MB / 1.278 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004157/1.316, allocations: 1.402 MB / 1.28 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008521/1.317, allocations: 0.5852 MB / 1.28 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004657/1.321, allocations: 1.769 MB / 1.282 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=217): time 4.599e-06/1.321, allocations: 3.938 kB / 1.282 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=218): time 0.01275/1.334, allocations: 4.804 MB / 1.287 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/1.334, allocations: 266.7 kB / 1.287 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/1.336, allocations: 1.232 MB / 1.288 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/1.336, allocations: 72.8 kB / 1.288 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006796/1.337, allocations: 0.9791 MB / 1.289 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/1.338, allocations: 0.6987 MB / 1.29 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/1.338, allocations: 167.8 kB / 1.29 GB, free: 162 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/1.338, allocations: 302.8 kB / 1.29 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/1.341, allocations: 1.22 MB / 1.291 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003665/1.345, allocations: 1.529 MB / 1.293 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007396/1.352, allocations: 2.693 MB / 1.295 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/1.352, allocations: 2.062 kB / 1.295 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009274/1.362, allocations: 3.107 MB / 1.298 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/1.362, allocations: 269.2 kB / 1.299 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/1.362, allocations: 5.125 kB / 1.299 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.264e-05/1.362, allocations: 14 kB / 1.299 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/1.366, allocations: 0.6073 MB / 1.299 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.69e-05/1.366, allocations: 18.28 kB / 1.299 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/1.369, allocations: 336.9 kB / 1.3 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/1.369, allocations: 103.1 kB / 1.3 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.369, allocations: 4.406 kB / 1.3 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007773/1.377, allocations: 2.871 MB / 1.303 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.377, allocations: 9.484 kB / 1.303 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.377, allocations: 15.12 kB / 1.303 GB, free: 155 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/1.38, allocations: 0.6014 MB / 1.303 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.22e-05/1.38, allocations: 21.31 kB / 1.303 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/1.383, allocations: 329.1 kB / 1.304 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/1.383, allocations: 110.8 kB / 1.304 GB, free: 154.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 29 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,pvOriented.HDirTil.incAng.decAng.tNext,$PRE.pvOriented.HDirTil.incAng.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,$PRE.pvOriented.HDifTil.incAng.decAng.tNext,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,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (267): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001548/1.385, allocations: 0.622 MB / 1.304 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/1.385, allocations: 183.8 kB / 1.304 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008921/1.394, allocations: 3.521 MB / 1.308 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/1.394, allocations: 24 kB / 1.308 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/1.394, allocations: 7.094 kB / 1.308 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/1.394, allocations: 19.89 kB / 1.308 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/1.406, allocations: 6.209 MB / 1.314 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.406, allocations: 7.984 kB / 1.314 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004269/1.41, allocations: 0.5461 MB / 1.315 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.521e-05/1.41, allocations: 11.94 kB / 1.315 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004588/1.411, allocations: 67.94 kB / 1.315 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.758e-05/1.411, allocations: 11.98 kB / 1.315 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/1.411, allocations: 8 kB / 1.315 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.423, allocations: 3.209 MB / 1.318 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/1.425, allocations: 0.6344 MB / 1.318 GB, free: 141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009918/1.426, allocations: 48 kB / 1.318 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004149/1.43, allocations: 274.5 kB / 1.319 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005716/1.43, allocations: 153.8 kB / 1.319 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004913/1.431, allocations: 91.92 kB / 1.319 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002202/1.433, allocations: 0.8799 MB / 1.32 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.8e-07/1.433, allocations: 0 / 1.32 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00466/1.438, allocations: 0.979 MB / 1.321 GB, free: 138.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: 18 ($whenCondition9,$whenCondition8,$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,pvOriented.HDifTil.incAng.decAng.tNext,pvOriented.HDirTil.incAng.decAng.tNext) * Number of discrete states: 9 (HDifTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,pvOriented.HDirTil.incAng.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001929/1.44, allocations: 0.669 MB / 1.321 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.453, allocations: 4.559 MB / 1.326 GB, free: 133.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.453, allocations: 4 kB / 1.326 GB, free: 133.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004288/1.457, allocations: 1.559 MB / 1.327 GB, free: 132 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/1.461, allocations: 460.2 kB / 1.328 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/1.472, allocations: 5.999 MB / 1.334 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.473, allocations: 1.623 MB / 1.335 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005743/1.479, allocations: 0.8276 MB / 1.336 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/1.481, allocations: 239.2 kB / 1.336 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.402e-06/1.481, allocations: 3.938 kB / 1.336 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.05069/1.531, allocations: 32.55 MB / 1.368 GB, free: 90.52 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)